From b74f96245405a9e6d9aa3db5d946119e0383b247 Mon Sep 17 00:00:00 2001 From: "David A. Kennedy" Date: Wed, 22 Jul 2020 20:21:57 -0400 Subject: [PATCH] Reverse order of posts in feed * Allows feed readers to make sure they get the latest post, even of parsing is limited. --- feed/feed.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed/feed.njk b/feed/feed.njk index eec5022..ce618db 100755 --- a/feed/feed.njk +++ b/feed/feed.njk @@ -15,7 +15,7 @@ eleventyExcludeFromCollections: true {{ metadata.author.name }} {{ metadata.author.email }} - {%- for post in collections.posts %} + {%- for post in collections.posts | reverse %} {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %} {{ post.data.title }}