--- permalink: '/sitemap.xml' eleventyExcludeFromCollections: true --- {%- assign pages = collections.all | reverse -%} {%- for page in pages -%} {%- if not page.data.draft %} {{ page.url | absoluteUrl: site.url }} {{ page.date | dateToRfc3339 }} {{ page.data.changefreq | default: 'monthly' }} {{ page.data.priority | default: '0.5' }} {%- endif -%} {%- endfor %}