fix: sitemap
This commit is contained in:
parent
23f2db35d4
commit
2efe92318f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ eleventyExcludeFromCollections: true
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{% for page in collections.siteMap %}
|
{% for page in collections.siteMap %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ globals.url }}{{ page.url }}</loc>
|
<loc>{{ page.url }}</loc>
|
||||||
<lastmod>{{ page.date | date: '%Y-%m-%dT%H:%M:%S%:z' }}</lastmod>
|
<lastmod>{{ page.date | date: '%Y-%m-%dT%H:%M:%S%:z' }}</lastmod>
|
||||||
<changefreq>{% if page.data.changeFreq %}{{ page.data.changeFreq }}{% else %}monthly{% endif %}</changefreq>
|
<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>
|
<priority>{% if page.data.priority %}{{ page.data.priority }}{% else %}0.5{% endif %}</priority>
|
||||||
|
|
Reference in a new issue