fix: feed dates

This commit is contained in:
Cory Dransfeldt 2024-02-26 14:50:29 -08:00
parent 7b20663d24
commit b78f17bad0
No known key found for this signature in database
5 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ eleventyExcludeFromCollections: true
{% if not page.data.draft %}
<url>
<loc>{{ meta.url }}{{ page.url }}</loc>
<lastmod>{{ page.date | isoDateOnly }}</lastmod>
<lastmod>{{ page.date | isoDateOnly: '-' }}</lastmod>
<changefreq>{%- if page.data.changeFreq -%}{{ page.data.changeFreq }}{%- else -%}monthly{%- endif -%}</changefreq>
<priority>{%- if page.data.priority -%}{{ page.data.priority }}{%- else -%}0.5{%- endif %}</priority>
</url>