summaryrefslogtreecommitdiff
path: root/blog/templates/feed.xml.j2
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2025-12-17 23:31:39 +0100
committerBotond Hende <nettingman@gmail.com>2025-12-17 23:31:39 +0100
commitd8995902414f2d2689b0bbdc6651730b1fe9bd31 (patch)
treeef441bbc46ec5249b48de4286483d83d5c668ce7 /blog/templates/feed.xml.j2
parentb687ada7e80591e8d9e3da6690fc1c24aa0bdf21 (diff)
moved blog generation to separate folder
Diffstat (limited to 'blog/templates/feed.xml.j2')
-rw-r--r--blog/templates/feed.xml.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/blog/templates/feed.xml.j2 b/blog/templates/feed.xml.j2
new file mode 100644
index 0000000..7e51092
--- /dev/null
+++ b/blog/templates/feed.xml.j2
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0">
+<channel>
+ <title>@yggdrasil</title>
+ <link>https://blog.wazul.moe/feed.xml</link>
+ <description>The chronicle of my works and learnings</description>
+ <language>en</language>
+ <lastBuildDate>{{ build_date }}</lastBuildDate>
+ {% for post in posts %}
+ <item>
+ <title>{{ post.title() }}</title>
+ <link>{{ post.get_link() }}</link>
+ <description>{{ post.intro }}</description>
+ <guid isPermaLink="false">{{ post.get_link() }}</guid>
+ <author>contact@wazul.moe</author>
+ <pubDate>{{ post.get_publish_time_rfc2822() }}</pubDate>
+ </item>
+ {% endfor %}
+ </channel>
+</rss> \ No newline at end of file