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

23 lines
628 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>
2017-03-19 10:40:31 +00:00
<loc>{{ page.permalink | safe }}</loc>
2017-03-06 14:45:57 +00:00
{% if page.date %}
<lastmod>{{ page.date }}</lastmod>
{% endif %}
</url>
{% endfor %}
2017-03-19 10:40:31 +00:00
{% for section in sections %}
<url>
<loc>{{ section.permalink | safe }}</loc>
</url>
{% endfor %}
2018-07-16 08:54:05 +00:00
{% for taxonomy in taxonomies %}
{% for entry in taxonomy %}
2017-03-20 03:42:43 +00:00
<url>
2018-07-16 08:54:05 +00:00
<loc>{{ entry.permalink | safe }}</loc>
2017-03-20 03:42:43 +00:00
</url>
2018-07-16 08:54:05 +00:00
{% endfor %}
2017-03-20 03:42:43 +00:00
{% endfor %}
2017-03-06 14:45:57 +00:00
</urlset>