templates/sitemap/index.html.twig line 1

Open in your IDE?
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  3.     {% for url in urls %}
  4.         <url>
  5.             <loc>{{ hostname }}{{ url.loc }}</loc>
  6.             {% if url.lastmod is defined %}
  7.                 <lastmod>{{ url.lastmod }}</lastmod>
  8.             {% endif %}
  9.         </url>
  10.     {% endfor %}
  11. </urlset>