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

10 lines
347 B
XML
Raw Normal View History

2017-03-06 14:45:57 +00:00
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for sitemap_entry in sitemap_entries %}
2017-03-06 14:45:57 +00:00
<url>
<loc>{{ sitemap_entry.permalink | safe }}</loc>
{% if sitemap_entry.date %}
<lastmod>{{ sitemap_entry.date }}</lastmod>
2017-03-06 14:45:57 +00:00
{% endif %}
</url>
{% endfor %}
</urlset>