From 10bfb88a0e93cd5ad5cb9613f405d16b81f7cefe Mon Sep 17 00:00:00 2001 From: maia arson crimew Date: Fri, 19 May 2023 12:48:38 +0200 Subject: [PATCH] atom feed: fix some small issues --- src/feed.njk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/feed.njk b/src/feed.njk index 1895dc7..8da1113 100644 --- a/src/feed.njk +++ b/src/feed.njk @@ -14,18 +14,18 @@ metadata: id: https://maia.crimew.gay/ --- - + {{ metadata.title }} {{ metadata.feed.subtitle }} - {{ collections.posts | rssLastUpdatedDate }} + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} {{ metadata.feed.id }} {{ 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 }} @@ -34,7 +34,7 @@ metadata: {% else %} {% endif %} - {{ post.date | rssDate }} + {{ post.date | dateToRfc3339 }} {{ absolutePostUrl }} {{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) }}