2020-07-27 03:12:01 +00:00
|
|
|
@use crate::post::Post;
|
|
|
|
@use chrono::Utc;
|
|
|
|
|
|
|
|
@(posts: Vec<Post>)
|
|
|
|
|
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
2022-05-26 17:28:35 +00:00
|
|
|
<id>https://xeiaso.net/blog.atom</id>
|
2021-08-07 16:22:05 +00:00
|
|
|
<title>Xe's Blog</title>
|
2020-07-27 03:12:01 +00:00
|
|
|
<updated>@Utc::now().to_rfc3339()</updated>
|
|
|
|
<author>
|
2022-01-10 23:09:31 +00:00
|
|
|
<name>Xe Iaso</name>
|
2020-07-27 03:12:01 +00:00
|
|
|
<email>me@@christine.website</email>
|
|
|
|
</author>
|
2022-05-26 17:28:35 +00:00
|
|
|
<link href="https://xeiaso.net/blog.atom" rel="self"/>
|
|
|
|
<link href="https://xeiaso.net/blog" rel="alternate"/>
|
2020-07-27 03:12:01 +00:00
|
|
|
<generator uri="@env!("CARGO_PKG_REPOSITORY")" version="@env!("CARGO_PKG_VERSION")">@env!("CARGO_PKG_NAME")</generator>
|
|
|
|
@for post in posts {
|
|
|
|
<entry>
|
2022-05-26 17:28:35 +00:00
|
|
|
<id>https://xeiaso.net/@post.link</id>
|
2020-07-27 03:12:01 +00:00
|
|
|
<title>@post.front_matter.title</title>
|
2021-01-23 02:11:48 +00:00
|
|
|
<published>@post.date.to_rfc3339()</published>
|
2022-05-26 17:28:35 +00:00
|
|
|
<link href="https://xeiaso.net/@post.link" rel="alternate"/>
|
2020-07-27 03:12:01 +00:00
|
|
|
</entry>
|
|
|
|
}
|
|
|
|
</feed>
|