2
0
mirror of https://github.com/offen/website.git synced 2024-11-27 11:00:26 +01:00
website/homepage/theme/templates/sitemap.html

20 lines
631 B
HTML
Raw Normal View History

2019-10-21 22:23:34 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in pages %}
{% if not page.exclude_from_sitemap %}
<url>
2019-12-13 11:08:08 +01:00
<loc>{{ SITEURL }}/{{ page.save_as | replace('index.html', '') }}</loc>
2019-10-27 08:24:11 +01:00
<priority>{{ page.sitemap_priority or 0.5 }}</priority>
2019-10-21 22:23:34 +02:00
</url>
{% endif %}
{% endfor %}
{% for article in articles %}
{% if not article.exclude_from_sitemap %}
<url>
<loc>{{ SITEURL }}/{{ article.save_as | replace('index.html', '') }}</loc>
<priority>{{ article.sitemap_priority or 0.5 }}</priority>
</url>
{% endif %}
{% endfor %}
2019-10-21 22:23:34 +02:00
</urlset>