Index: django/contrib/sitemaps/templates/sitemap.xml =================================================================== --- django/contrib/sitemaps/templates/sitemap.xml (revision 3810) +++ django/contrib/sitemaps/templates/sitemap.xml (working copy) @@ -1,11 +1,4 @@ -{% for url in urlset %} - - {{ url.location|escape }} - {% if url.lastmod %}{{ url.lastmod|date:"Y-m-d" }}{% endif %} - {% if url.changefreq %}{{ url.changefreq }}{% endif %} - {% if url.priority %}{{ url.priority }}{% endif %} - -{% endfor %} +{% for url in urlset %}{{ url.location|escape }}{% if url.lastmod %}{{ url.lastmod|date:"Y-m-d" }}{% endif %}{% if url.changefreq %}{{ url.changefreq }}{% endif %}{% if url.priority %}{{ url.priority }}{% endif %}{% endfor %} Index: django/contrib/sitemaps/templates/sitemap_index.xml =================================================================== --- django/contrib/sitemaps/templates/sitemap_index.xml (revision 3810) +++ django/contrib/sitemaps/templates/sitemap_index.xml (working copy) @@ -1,8 +1,4 @@ -{% for location in sitemaps %} - - {{ location|escape }} - -{% endfor %} +{% for location in sitemaps %}{{ location|escape }}{% endfor %}