rss shit idfk

This commit is contained in:
maia arson crimew 2023-07-24 18:55:26 +02:00
parent 2c532e0374
commit 515c07f931

View file

@ -25,7 +25,7 @@ metadata:
<name>{{ metadata.author.name }}</name>
<email>{{ metadata.author.email }}</email>
</author>
{%- for post in collections.posts | reverse %}
{%- for post in collections.posts %}
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
<entry>
<title>{{ post.data.title }}</title>
@ -36,7 +36,7 @@ metadata:
{% endif %}
<updated>{{ post.date | dateToRfc3339 }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="html">{{ post.content | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}</content>
<content type="html">{{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}</content>
</entry>
{%- endfor %}
</feed>