Fix collection name to get feed from

This commit is contained in:
Helen Chong 2024-04-16 22:13:30 +08:00
parent 9fdd6ffe6d
commit ba8f4f31ba
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ eleventyExcludeFromCollections: true
<name>{{ sitemeta.siteAuthor.name }}</name>
<email>{{ sitemeta.siteAuthor.email }}</email>
</author>
{%- for item in collections.feedItems | reverse %}
{%- for item in collections["feed items"] | reverse %}
{% set absolutePostUrl %}{{ item.url | url | absoluteUrl(sitemeta.siteUrl) }}{% endset %}
<entry>
<title>{{ item.data.title }}</title>