diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 11:29:01 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 11:29:01 +0100 |
commit | c782351577faa451edb0eb386694d9db211200f8 (patch) | |
tree | 2ed4533c981cca98ca9aadd09b4be26940c76f49 | |
parent | 3f63afa14b364003aef9ca8dd83ce0bd37102ab3 (diff) |
fix rss feed
-rw-r--r-- | atom.xml | 16 | ||||
-rw-r--r-- | readme.md | 1 |
2 files changed, 8 insertions, 9 deletions
@@ -14,14 +14,14 @@ <link>https://{{ site.domain }}/atom.xml</link> <atom:link href="https://{{ site.domain }}/atom.xml" rel="self" type="application/rss+xml" /> </channel> - {% for post in site.posts %} - <item> - <title>{{ post.title }}</title> - <guid>{{ post.id }}</guid> - <link>{{ post.url }}</link> - <pubDate>{{ post.date | date_to_xmlschema }}</pubDate> - <description>{{ post.content | markdownify | xml_escape }}</description> - </item> + {% for post in site.items %} + <item> + <title>{{ post.title | smartify | xml_escape }}</title> + <guid>{{ post.id }}</guid> + <link>{{ post.url }}</link> + <pubDate>{{ post.date | date_to_xmlschema }}</pubDate> + <description>{{ post.content | markdownify | xml_escape }}</description> + </item> {% endfor %} </rss> @@ -4,7 +4,6 @@ Live at <https://blog.pipeframe.xyz> ## TODO -- rss is broken lol - tag index - search bar or something |