From b86ceda191696334c83af8f0b5cbccb9b538393b Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 11 Apr 2024 07:20:59 +0100 Subject: [PATCH] Fix permalinks and descriptions on styled feed --- src/feeds/atom.njk | 2 +- src/feeds/rss.njk | 1 + src/feeds/styles/rss.njk | 8 ++++---- src/feeds/tags/atom.njk | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/feeds/atom.njk b/src/feeds/atom.njk index 8383f74..666d60a 100644 --- a/src/feeds/atom.njk +++ b/src/feeds/atom.njk @@ -13,7 +13,7 @@ {{ metadata.site.name }} {{ metadata.site.description }} - + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} {{ metadata.site.url }} diff --git a/src/feeds/rss.njk b/src/feeds/rss.njk index defab4e..f5d9791 100644 --- a/src/feeds/rss.njk +++ b/src/feeds/rss.njk @@ -12,6 +12,7 @@ eleventyImport: {{ metadata.site.name }} {{ metadata.site.url }} + {{ metadata.site.description }} {{ metadata.site.language }} {%- for post in collections.posts | reverse %} diff --git a/src/feeds/styles/rss.njk b/src/feeds/styles/rss.njk index dd02b2f..684ab79 100644 --- a/src/feeds/styles/rss.njk +++ b/src/feeds/styles/rss.njk @@ -38,13 +38,13 @@ eleventyExcludeFromCollections: true - -

's Web Feed Preview

-

This RSS feed provides the latest posts from 's blog. + +

's Web Feed Preview

+

This RSS feed provides the latest posts from 's blog. - + Visit Website → diff --git a/src/feeds/tags/atom.njk b/src/feeds/tags/atom.njk index 73e698a..08aa39f 100644 --- a/src/feeds/tags/atom.njk +++ b/src/feeds/tags/atom.njk @@ -15,7 +15,7 @@ eleventyImport: {{ metadata.site.name }} Posts tagged #{{ tag }} - + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} {{ metadata.site.url }}