blog/themes/chameleon/scripts/sitemap/.sitemap.xml

14 lines
378 B
XML
Raw Normal View History

2024-09-28 06:31:52 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in posts %}
<url>
<loc>{{ post.permalink }}</loc>
{% if post.updated %}
<lastmod>{{ post.updated | formatDate }}</lastmod>
{% elif post.date %}
<lastmod>{{ post.date | formatDate }}</lastmod>
{% endif %}
</url>
{% endfor %}
</urlset>