fix: sitemap

This commit is contained in:
Cory Dransfeldt 2024-10-08 19:02:06 -07:00
parent 23f2db35d4
commit 2efe92318f
No known key found for this signature in database

View file

@ -7,7 +7,7 @@ eleventyExcludeFromCollections: true
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.siteMap %}
<url>
<loc>{{ globals.url }}{{ page.url }}</loc>
<loc>{{ page.url }}</loc>
<lastmod>{{ page.date | date: '%Y-%m-%dT%H:%M:%S%:z' }}</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>