--- permalink: /sitemap.xml excludeFromSitemap: true --- {%- for page in collections.all %} {%- if not page.data.excludeFromSitemap %} {% set absoluteUrl %}{{ page.url | url | absoluteUrl(metadata.url) }}{% endset %} {{ absoluteUrl }} {{ page.date | htmlDateString }} {%- endif %} {%- endfor %}