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) }}