fix: wrong sitemap

This commit is contained in:
Stefan Imhoff
2022-03-08 10:23:27 +01:00
parent cd9e783f7a
commit 642bf9e20a

View File

@@ -7,7 +7,7 @@ eleventyExcludeFromCollections: true
{%- for item in collections.all -%}
{%- if not item.data.excludeFromSitemap and item.url -%}
<url>
<loc>{{ item.url | url }}</loc>
<loc>{{ site.url }}{{ item.url | url }}</loc>
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
</url>
{%- endif -%}