zola/components/templates/src/builtins/sitemap.xml

12 lines
404 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2019-04-02 16:31:50 +00:00
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
2019-03-14 20:15:01 +00:00
{% for sitemap_entry in entries %}
2017-03-06 14:45:57 +00:00
<url>
<loc>{{ sitemap_entry.permalink | urlencode | safe }}</loc>
{% if sitemap_entry.date %}
<lastmod>{{ sitemap_entry.date }}</lastmod>
2017-03-06 14:45:57 +00:00
{% endif %}
</url>
{% endfor %}
2019-03-14 20:15:01 +00:00
</urlset>