summaryrefslogtreecommitdiff
path: root/templates/sitemap.xml
blob: 04d2a42e810ff1faaa4dc4e066f7a8f1070866cf (plain) (blame)
1
2
3
4
5
6
7
<?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|sort(attribute='path')) }}
  {%- endfor %}
</urlset>