django/contrib/sitemaps/templates/sitemap_index.xml
raw| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> |
| 3 | {% spaceless %} |
| 4 | {% for site in sitemaps %} |
| 5 | <sitemap> |
| 6 | <loc>{{ site.location }}</loc> |
| 7 | {% if site.last_mod %} |
| 8 | <lastmod>{{ site.last_mod|date:"c" }}</lastmod> |
| 9 | {% endif %} |
| 10 | </sitemap> |
| 11 | {% endfor %} |
| 12 | {% endspaceless %} |
| 13 | </sitemapindex> |