Fixed #2805 -- Removed some whitespace from the two sitemap XML templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a07aafe007
commit
96f0b7bd21
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
|
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
|
||||||
|
{% spaceless %}
|
||||||
{% for url in urlset %}
|
{% for url in urlset %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ url.location|escape }}</loc>
|
<loc>{{ url.location|escape }}</loc>
|
||||||
|
@ -8,4 +9,5 @@
|
||||||
{% if url.priority %}<priority>{{ url.priority }}</priority>{% endif %}
|
{% if url.priority %}<priority>{{ url.priority }}</priority>{% endif %}
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endspaceless %}
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">
|
<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">
|
||||||
{% for location in sitemaps %}
|
{% for location in sitemaps %}<sitemap><loc>{{ location|escape }}</loc></sitemap>{% endfor %}
|
||||||
<sitemap>
|
|
||||||
<loc>{{ location|escape }}</loc>
|
|
||||||
</sitemap>
|
|
||||||
{% endfor %}
|
|
||||||
</sitemapindex>
|
</sitemapindex>
|
||||||
|
|
Loading…
Reference in New Issue