{% if config.plugins.sitemap.xsl_transform %} {% endif %} {% for entry in sitemap %} {{ entry.location|e }} {% if config.plugins.sitemap.include_news_tags and config.plugins.sitemap.standalone_sitemap_news == false and timestamp_within_days(entry.timestamp, config.plugin.sitemap.news_max_age_days|default(2)) and entry.rawroute|starts_with(config.plugins.sitemap.news_enabled_paths) %} {% include 'sitemap-extensions/news.xml.twig' %} {% endif %} {% for hreflang in entry.hreflangs %} {% endfor %} {% if entry.lastmod %} {{ entry.lastmod }} {% endif %} {% if entry.changefreq %} {{ entry.changefreq }} {% endif %} {% if entry.priority %} {{ entry.priority|number_format(1) }} {% endif %} {% for image in entry.images %} {% include 'sitemap-extensions/image.xml.twig' %} {% endfor %} {% endfor %}