2018-10-12 19:19:16 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-05-18 00:35:37 +02:00
|
|
|
{%- if '/css/sitemap.min.css'|asseturl is defined -%}
|
|
|
|
<?xml-stylesheet href="{{ '/css/sitemap.min.css'|asseturl }}" type="text/css" ?>
|
|
|
|
{%- endif %}
|
2018-10-12 19:19:16 +02:00
|
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
|
|
{%- for page in [site.root] if page != this recursive %}
|
2022-05-18 00:35:37 +02:00
|
|
|
{%- if not page.hide_from_global_index %}
|
2018-10-12 19:19:16 +02:00
|
|
|
<url><loc>{{ page|url(external=true) }}</loc></url>
|
|
|
|
{{- loop(page.children) }}
|
2022-05-18 00:35:37 +02:00
|
|
|
{%- endif %}
|
2018-10-12 19:19:16 +02:00
|
|
|
{%- endfor %}
|
|
|
|
</urlset>
|