2013-07-17 16:17:28 +02:00
|
|
|
{% filter remove_whitespace %}
|
|
|
|
<?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>
|
2015-03-10 12:48:59 +01:00
|
|
|
<loc>{{ settings.url ~ (config.board_path | format(board)) ~ config.dir.res ~ link_for(thread) }}</loc>
|
2013-07-17 16:17:28 +02:00
|
|
|
<lastmod>{{ thread.lastmod | date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}</lastmod>
|
|
|
|
<changefreq>{{ settings.changefreq }}</changefreq>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</urlset>
|
2015-03-10 12:48:59 +01:00
|
|
|
{% endfilter %}
|