--- pagination: data: collections size: 1 alias: tag filter: - all - post - posts - tagList - gallery - galleryImages addAllPagesToCollections: true eleventyComputed: title: “{{ tag }}” permalink: "/feeds/{{ tag | slugify }}.xml" --- {% set postslist = collections[ tag ] %} {{ title }} from {{ metadata.title }} {{ tag }}: {{ metadata.description }} {{ postslist | getNewestCollectionItemDate | dateToRfc3339 }} {{ metadata.url }} {{ metadata.author.name }} {{ metadata.author.email }} {%- for post in postslist | reverse %} {% set absolutePostUrl %}{{ post.url | htmlBaseUrl(metadata.url) }}{% endset %} {% if post.data.imageURL %}{% set imageURL %}{{ post.data.imageURL | htmlBaseUrl(metadata.url) }}{% endset %}{% endif %} {% set defaultImageURL %}{{ metadata.defaultPostImageURL | htmlBaseUrl(metadata.url) }}{% endset %} {{ post.data.title | safe }} {{ post.data.description | truncate(150) }} {{ post.date | dateToRfc3339 }} {{ absolutePostUrl }} {% if post.data.imageURL %}{{ imageURL }}{% else %}{{ defaultImageURL }}{% endif %} {% if post.data.imageAlt %}{{ post.data.imageAlt }}{% else %}{{ metadata.defaultPostImageAlt }}{% endif %} {{ post.templateContent | transformWithHtmlBase(absolutePostUrl, post.url) }} {%- endfor %}