html5-infobeamer-aalen-geek.../templates/sitemap.xml

13 lines
481 B
XML
Raw Normal View History

2023-11-01 17:14:41 +01:00
<?xml version="1.0" encoding="UTF-8"?>
{%- if '/css/sitemap.min.css'|asseturl is defined -%}
<?xml-stylesheet href="{{ '/css/sitemap.min.css'|asseturl }}" type="text/css" ?>
{%- endif %}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{%- for page in [site.root] if page != this recursive %}
{%- if not page.hide_from_global_index %}
<url><loc>{{ page|url(external=true) }}</loc></url>
{{- loop(page.children) }}
{%- endif %}
{%- endfor %}
</urlset>