Implement now burning

This commit is contained in:
2025-06-06 19:19:07 -05:00
parent 698fe4b7c6
commit 3871a05833
15 changed files with 277 additions and 15 deletions

View File

@ -10,6 +10,7 @@ pagination:
- tagList
- gallery
- galleryImages
- nowBurning
addAllPagesToCollections: true
eleventyComputed:
title: “{{ tag }}”
@ -29,6 +30,7 @@ permalink: "/feeds/{{ tag | slugify }}.xml"
<email>{{ metadata.author.email }}</email>
</author>
{%- for post in postslist | reverse %}
{% if post.url %}
{% 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 %}
@ -45,5 +47,6 @@ permalink: "/feeds/{{ tag | slugify }}.xml"
</image>
<content type="html">{{ post.templateContent | transformWithHtmlBase(absolutePostUrl, post.url) }}</content>
</entry>
{% endif %}
{%- endfor %}
</feed>