ungleich-staticcms/templates/sitemap.xml

7 lines
267 B
XML
Raw Normal View History

2020-01-13 01:51:47 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{%- for page in [site.root] if page != this recursive %}
<url><loc>{{ page|url(external=true) }}</loc></url>
{{- loop(page.children) }}
{%- endfor %}
</urlset>