leilukin-site/src/sitemap.xml.njk

15 lines
598 B
Plaintext
Raw Normal View History

2024-08-20 06:49:11 +00:00
---
permalink: sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
2024-09-14 13:47:25 +00:00
{%- for item in collections.all %}
2024-08-20 06:49:11 +00:00
<url>
2024-09-16 08:56:25 +00:00
<loc>{{ sitemeta.siteUrl + item.url }}</loc>
2024-08-20 06:49:11 +00:00
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
<changefreq>{{ item.data.sitemap.changefreq | default("weekly") }}</changefreq>
2024-08-20 06:49:11 +00:00
<priority>{{ item.data.sitemap.priority | default(0.5) }}</priority>
</url>
{%- endfor %}
</urlset>