aboutsummaryrefslogtreecommitdiff
path: root/layouts/rss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r--layouts/rss.xml22
1 files changed, 12 insertions, 10 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml
index 838c747..fb4a317 100644
--- a/layouts/rss.xml
+++ b/layouts/rss.xml
@@ -1,4 +1,4 @@
-<rss version="2.0"
+<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
@@ -8,13 +8,15 @@
<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 :loop="$page.subpages()">
- <title :text="$loop.it.title"></title>
- <link :text="$loop.it.link()"></link>
- <pubDate :text="$loop.it.date.formatHTTP()"></pubDate>
- <guid isPermaLink="true" :text="$loop.it.link()"></guid>
- <description :text="$loop.it.description"></description>
- <!-- <content:encoded :html="$loop.it.content()"></content:encoded> It doesn't work -->
- </item>
+ <ctx :loop="$page.subpages()">
+ <item>
+ <title :text="$loop.it.title"></title>
+ <link :text="$loop.it.link().prefix('https://mfashby.net')"></link>
+ <pubDate :text="$loop.it.date.formatHTTP()"></pubDate>
+ <guid isPermaLink="true" :text="$loop.it.link().prefix('https://mfashby.net')"></guid>
+ <description :text="$loop.it.description"></description>
+ <!-- <content:encoded :html="$loop.it.content()"></content:encoded> It doesn't work -->
+ </item>
+ </ctx>
</channel>
-</rss> \ No newline at end of file
+</rss>