We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429a5f6 commit 30d40ceCopy full SHA for 30d40ce
src/content/xml_sitemap.njk
@@ -8,8 +8,8 @@ layout: false
8
{%- for page in collections.all -%}
9
{%- if page.url != '' and page.data.sitemapIgnore != true -%}
10
<url>
11
- <loc>{{ env.siteUrl }}{{ page.url | url }}</loc>
12
- {%- if page.date -%}<lastmod>{{ page.date }}</lastmod>{%- endif -%}
+ <loc>{{ site.url }}{{ page.url | url }}</loc>
+ {%- if page.date -%}<lastmod>{{ page.date.toISOString() }}</lastmod>{%- endif -%}
13
{%- if page.data.changefreq -%}<changefreq>{{ page.data.changefreq }}</changefreq>{%- endif -%}
14
{%- if page.data.priority -%}<priority>{{ page.data.priority }}</priority>{%- endif -%}
15
</url>
0 commit comments