aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/blog_rss.rs.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/blog_rss.rs.xml b/templates/blog_rss.rs.xml
index 02b5ce0..15e3c82 100644
--- a/templates/blog_rss.rs.xml
+++ b/templates/blog_rss.rs.xml
@@ -1,3 +1,4 @@
+@use crate::APPLICATION_NAME as APP;
@use crate::post::Post;
@(posts: Vec<Post>)
@@ -7,11 +8,13 @@
<title>Christine Dodrill's Blog</title>
<link>https://christine.website/blog</link>
<description>Tech, philosophy and more</description>
+ <generator>@APP https://github.com/Xe/site</generator>
@for post in posts {
<item>
+ <guid>https://christine.website/@post.link</guid>
<title>@post.front_matter.title</title>
<link>https://christine.website/@post.link</link>
- <description></description>
+ <description><![CDATA[@Html(post.body_html)]]></description>
<pubDate>@post.date.to_rfc2822()</pubDate>
</item>