vendor/shopware/storefront/Resources/views/storefront/page/sitemap/sitemap.xml.twig line 1

Open in your IDE?
  1. {% block sitemap %}
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. {% block sitemap_content %}
  4.     <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  5.         {% block sitemap_content_sitemaps %}
  6.             {% for sitemap in page.sitemaps %}
  7.                 <sitemap>
  8.                     <loc>{{ absolute_url(sitemap.filename) }}</loc>
  9.                     <lastmod>{{ sitemap.created|date('c') }}</lastmod>
  10.                 </sitemap>
  11.             {% endfor %}
  12.         {% endblock %}
  13.     </sitemapindex>
  14. {% endblock %}
  15. {% endblock %}