diff --git a/_includes/updates.njk b/_includes/updates.njk index 25bbe03..276f1f9 100644 --- a/_includes/updates.njk +++ b/_includes/updates.njk @@ -1,5 +1,29 @@ - -{% for section in content | sections %} - {{ section | safe }} -
-{% endfor %} +---json +{ + "permalink": "/updates.xml", + "eleventyExcludeFromCollections": true, + "metadata": { + "title": "My Blog about Boats", + "description": "I am writing about my experiences as a naval navel-gazer.", + "language": "en", + "base": "https://example.com/", + "author": { + "name": "Boaty McBoatFace" + } + } +} +--- + + + + {{ metadata.title }} + {{ metadata.description }} + + {{ metadata.author.name }} + + {%- for post in content | sections | reverse %} + + {{ post.content | renderTransforms(post.data.page, metadata.base) }} + + {%- endfor %} +