rss shit idfk
parent
2c532e0374
commit
515c07f931
|
@ -25,7 +25,7 @@ metadata:
|
||||||
<name>{{ metadata.author.name }}</name>
|
<name>{{ metadata.author.name }}</name>
|
||||||
<email>{{ metadata.author.email }}</email>
|
<email>{{ metadata.author.email }}</email>
|
||||||
</author>
|
</author>
|
||||||
{%- for post in collections.posts | reverse %}
|
{%- for post in collections.posts %}
|
||||||
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
|
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ post.data.title }}</title>
|
<title>{{ post.data.title }}</title>
|
||||||
|
@ -36,7 +36,7 @@ metadata:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<updated>{{ post.date | dateToRfc3339 }}</updated>
|
<updated>{{ post.date | dateToRfc3339 }}</updated>
|
||||||
<id>{{ absolutePostUrl }}</id>
|
<id>{{ absolutePostUrl }}</id>
|
||||||
<content type="html">{{ post.content | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}</content>
|
<content type="html">{{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}</content>
|
||||||
</entry>
|
</entry>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
Loading…
Reference in New Issue