fix: sitemap
This commit is contained in:
parent
50ab10055c
commit
968d5ab11f
1 changed files with 0 additions and 0 deletions
14
src/pages/sitemap.liquid
Normal file
14
src/pages/sitemap.liquid
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
permalink: /sitemap.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for page in collections.all %}
|
||||
<url>
|
||||
<loc>{{ meta.url }}{{ page.url | url }}</loc>
|
||||
<lastmod>{{ page.date }}</lastmod>
|
||||
<changefreq>{{page.data.changeFreq}}</changefreq>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Reference in a new issue