diff --git a/src/feed.njk b/src/feed.njk index 6a0ef696..d3d225b3 100644 --- a/src/feed.njk +++ b/src/feed.njk @@ -12,20 +12,20 @@ eleventyComputed: {{ sitemeta.siteDescription }} - {{ collections.feedItems | getNewestCollectionItemDate | dateToRfc3339 }} + {{ collections["feed items"] | getNewestCollectionItemDate | dateToRfc3339 }} {{ feedMeta.baseUrl }} {{ sitemeta.siteAuthor.name }} {{ sitemeta.siteAuthor.email }} {%- for item in collections["feed items"] | reverse | itemLimit(15) %} - {% set absolutePostUrl %}{{ item.url | absoluteUrl(feedMeta.baseUrl) }}{% endset %} - - {{ item.data.title | safe }} - - {{ item.date | dateToRfc3339 }} - {{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }} - {{ item.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} - + {% set absolutePostUrl %}{{ item.url | absoluteUrl(feedMeta.baseUrl) }}{% endset %} + + {{ item.data.title | safe }} + + {{ item.date | dateToRfc3339 }} + {{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }} + {{ item.content | renderTransforms(item.data.page, feedMeta.baseUrl) }} + {%- endfor %} \ No newline at end of file