File: custom_sitemap_lastmod_index.xml

package info (click to toggle)
python-django 3%3A4.2.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,640 kB
  • sloc: python: 334,821; javascript: 18,754; xml: 215; makefile: 178; sh: 27
file content (14 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a customised template -->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% spaceless %}
{% for site in sitemaps %}
    <sitemap>
        <loc>{{ site.location }}</loc>
        {% if site.last_mod %}
        <lastmod>{{ site.last_mod|date:"c" }}</lastmod>
        {% endif %}
    </sitemap>
{% endfor %}
{% endspaceless %}
</sitemapindex>