mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +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>
|