aboutsummaryrefslogtreecommitdiff
path: root/layouts/rss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r--layouts/rss.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml
new file mode 100644
index 0000000..349f8f0
--- /dev/null
+++ b/layouts/rss.xml
@@ -0,0 +1,20 @@
+<rss version="2.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:content="http://purl.org/rss/1.0/modules/content/">
+ <channel>
+ <title>Home on mfashby.net</title>
+ <link>https://mfashby.net/</link>
+ <description>Recent content in Home on mfashby.net</description>
+ <language>en-gb</language>
+ <lastBuildDate>Sun, 03 Mar 2024 19:31:27 +0000</lastBuildDate>
+ <atom:link href="https://mfashby.net/index.xml" rel="self" type="application/rss+xml"/>
+ <item inline-loop="$page.subpages()">
+ <title var="$loop.it.title"></title>
+ <link var="$loop.it.permalink()"></link>
+ <pubDate var="$loop.it.date.formatHTTP()"></pubDate>
+ <guid isPermaLink="true" var="$loop.it.permalink()"></guid>
+ <description var="$loop.it.description"></description>
+ <content:encoded var="$loop.it.content"></content:encoded> <!-- This doesn't work, an empty tag is emitted -->
+ </item>
+ </channel>
+</rss> \ No newline at end of file