summaryrefslogtreecommitdiff
path: root/django/contrib/sitemaps/templates/sitemap_index.xml
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/sitemaps/templates/sitemap_index.xml')
-rw-r--r--django/contrib/sitemaps/templates/sitemap_index.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/contrib/sitemaps/templates/sitemap_index.xml b/django/contrib/sitemaps/templates/sitemap_index.xml
new file mode 100644
index 0000000000..a2bcce85dc
--- /dev/null
+++ b/django/contrib/sitemaps/templates/sitemap_index.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+{% for location in sitemaps %}<sitemap><loc>{{ location|escape }}</loc></sitemap>{% endfor %}
+</sitemapindex>