app/django/contrib/sitemaps/templates/sitemap.xml
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 02 Feb 2009 10:15:07 +0000
changeset 1174 7316a2989134
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name. Patch by: Pawel Solyga Reviewed by: to-be-reviewed

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% spaceless %}
{% for url in urlset %}
  <url>
    <loc>{{ url.location }}</loc>
    {% if url.lastmod %}<lastmod>{{ url.lastmod|date:"Y-m-d" }}</lastmod>{% endif %}
    {% if url.changefreq %}<changefreq>{{ url.changefreq }}</changefreq>{% endif %}
    {% if url.priority %}<priority>{{ url.priority }}</priority>{% endif %}
   </url>
{% endfor %}
{% endspaceless %}
</urlset>