Reverse order of posts in feed
* Allows feed readers to make sure they get the latest post, even of parsing is limited.
This commit is contained in:
parent
ffef660e0e
commit
b74f962454
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ eleventyExcludeFromCollections: true
|
|||
<name>{{ metadata.author.name }}</name>
|
||||
<email>{{ metadata.author.email }}</email>
|
||||
</author>
|
||||
{%- for post in collections.posts %}
|
||||
{%- for post in collections.posts | reverse %}
|
||||
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
|
||||
<entry>
|
||||
<title>{{ post.data.title }}</title>
|
||||
|
|
Loading…
Add table
Reference in a new issue