2020-10-25 20:29:02 +00:00
|
|
|
@use crate::APPLICATION_NAME as APP;
|
2020-07-27 03:12:01 +00:00
|
|
|
@use crate::post::Post;
|
|
|
|
|
|
|
|
@(posts: Vec<Post>)
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<rss version="2.0">
|
|
|
|
<channel>
|
|
|
|
<title>Christine Dodrill's Blog</title>
|
|
|
|
<link>https://christine.website/blog</link>
|
|
|
|
<description>Tech, philosophy and more</description>
|
2020-10-25 20:29:02 +00:00
|
|
|
<generator>@APP https://github.com/Xe/site</generator>
|
2021-01-15 03:36:34 +00:00
|
|
|
<ttl>1440</ttl>
|
2020-07-27 03:12:01 +00:00
|
|
|
@for post in posts {
|
|
|
|
<item>
|
2021-04-18 14:40:03 +00:00
|
|
|
<guid>https://christine.website/@post.link</guid>
|
2020-07-27 03:12:01 +00:00
|
|
|
<title>@post.front_matter.title</title>
|
2021-04-18 14:40:03 +00:00
|
|
|
<link>https://christine.website/@post.link</link>
|
2020-10-25 20:29:02 +00:00
|
|
|
<description><![CDATA[@Html(post.body_html)]]></description>
|
2020-07-27 03:12:01 +00:00
|
|
|
<pubDate>@post.date.to_rfc2822()</pubDate>
|
|
|
|
</item>
|
|
|
|
|
|
|
|
}
|
|
|
|
</channel>
|
|
|
|
</rss>
|