1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-22 12:25:59 +01:00
vichan/templates/themes/sitemap/sitemap.xml

20 lines
652 B
XML
Raw Normal View History

2023-03-29 23:59:28 +02:00
{% apply spaceless %}
2013-07-17 16:17:28 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for board in boards %}
<url>
<loc>{{ settings.url ~ (config.board_path | format(board)) ~ config.file_index }}</loc>
</url>
{% endfor %}
{% for board, thread_list in threads %}
{% for thread in thread_list %}
<url>
<loc>{{ settings.url ~ (config.board_path | format(board)) ~ config.dir.res ~ link_for(thread) }}</loc>
<lastmod>{{ thread.lastmod | date('Y-m-d\\TH:i:s\Z') }}</lastmod>
2013-07-17 16:17:28 +02:00
<changefreq>{{ settings.changefreq }}</changefreq>
</url>
{% endfor %}
{% endfor %}
</urlset>
2023-03-29 23:59:28 +02:00
{% endapply %}