Implement now burning
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user