mirror of
https://github.com/kogakure/website-11ty-kogakure.de.git
synced 2026-02-03 20:25:30 +00:00
fix: wrong sitemap
This commit is contained in:
@@ -7,7 +7,7 @@ eleventyExcludeFromCollections: true
|
|||||||
{%- for item in collections.all -%}
|
{%- for item in collections.all -%}
|
||||||
{%- if not item.data.excludeFromSitemap and item.url -%}
|
{%- if not item.data.excludeFromSitemap and item.url -%}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ item.url | url }}</loc>
|
<loc>{{ site.url }}{{ item.url | url }}</loc>
|
||||||
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
|
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user