aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-06-01 23:35:20 +0200
committerBen Beltran <ben@nsovocal.com>2020-06-01 23:35:20 +0200
commitde0ee360d0317da471912be6a3041fc95448b018 (patch)
tree2258fc3c260f9eef472116aac3f301059c405585 /templates
parent53d4936e24ea996978eed58b370247606b25bd77 (diff)
Add RSS template
Diffstat (limited to 'templates')
-rw-r--r--templates/feed.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/feed.xml b/templates/feed.xml
new file mode 100644
index 0000000..d22d656
--- /dev/null
+++ b/templates/feed.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">
+ <channel>
+ <title>Blog at Unlimited Pizza 🍕</title>
+ <link>https://blog.unlimited.pizza</link>
+ <description>This is the blog at unlimited.pizza</description>
+ <language>en</language>
+ {{~ it.posts: post}}
+ <item>
+ <guid isPermaLink="false">unlimited-pizza:{{= post.id}}</guid>
+ <pubDate>{{= post.createdOn}}</pubDate>
+ <description>
+ {{= post.html}}
+ </description>
+ </item>
+ {{~}}
+ </channel>
+</rss>