lewisdale.dev/src/sitemap.njk
2023-11-29 08:34:39 +00:00

35 lines
954 B
Plaintext

---
permalink: /sitemap.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://{{ metadata.site.domain }}/</loc>
<priority>1.0</priority>
</url>
<url>
<loc>https://{{ metadata.site.domain }}/now/</loc>
</url>
<url>
<loc>https://{{ metadata.site.domain }}/blog/</loc>
<priority>0.8</priority>
</url>
<url>
<loc>https://{{ metadata.site.domain }}/links/</loc>
</url>
<url>
<loc>https://{{ metadata.site.domain }}/user-manual.html</loc>
</url>
{% for tag in tags %}
<url>
<loc>https://{{ metadata.site.domain }}/post/tag/{{ tag.slug }}/</loc>
</url>
{% endfor %}
{% for post in posts %}
<url>
<loc>https://{{ metadata.site.domain }}/post/{{ post.slug }}/</loc>
<lastmod>{{ post.date | rfc3339 }}</lastmod>
</url>
{% endfor %}
</urlset>