zola/src/templates/sitemap.xml

11 lines
295 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 page in pages %}
<url>
<loc>{{ page.permalink }}</loc>
{% if page.date %}
<lastmod>{{ page.date }}</lastmod>
{% endif %}
</url>
{% endfor %}
</urlset>