Merge pull request #69 from davidakennedy/reverseFeed
Reverse order of posts in feed
This commit is contained in:
commit
3c1884c5c6
@ -15,7 +15,7 @@ eleventyExcludeFromCollections: true
|
|||||||
<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 %}
|
{%- for post in collections.posts | reverse %}
|
||||||
{% 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>
|
||||||
|
Loading…
Reference in New Issue
Block a user