fix: sitemap

This commit is contained in:
Cory Dransfeldt 2024-02-16 20:42:34 -08:00
parent 50ab10055c
commit 968d5ab11f
No known key found for this signature in database

14
src/pages/sitemap.liquid Normal file
View 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>