rss shit idfk
This commit is contained in:
parent
2c532e0374
commit
515c07f931
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue