{% for url in urlset %} {{ url.location }} {% if url.lastmod %}{{ url.lastmod|date("Y-m-d") }}{% endif %} {% if url.changefreq %}{{ url.changefreq }}{% endif %} {% if url.priority %}{{ url.priority }}{% endif %} {% endfor %}