mirror of
https://github.com/danog/sass-site.git
synced 2024-12-13 09:57:35 +01:00
19 lines
594 B
Plaintext
19 lines
594 B
Plaintext
---
|
|
permalink: '/sitemap.xml'
|
|
eleventyExcludeFromCollections: true
|
|
---
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
{%- assign pages = collections.all | reverse -%}
|
|
{%- for page in pages -%}
|
|
{%- if not page.data.draft %}
|
|
<url>
|
|
<loc>{{ page.url | absoluteUrl: site.url }}</loc>
|
|
<lastmod>{{ page.date | dateToRfc3339 }}</lastmod>
|
|
<changefreq>{{ page.data.changefreq | default: 'monthly' }}</changefreq>
|
|
<priority>{{ page.data.priority | default: '0.5' }}</priority>
|
|
</url>
|
|
{%- endif -%}
|
|
{%- endfor %}
|
|
</urlset>
|