xmitter-11ty/content/sitemap/sitemap.xml.njk

15 lines
448 B
Plaintext
Raw Normal View History

2018-09-24 15:09:15 -04:00
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
2018-09-24 15:09:15 -04:00
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
2018-09-24 15:09:15 -04:00
{%- for page in collections.all %}
2023-01-23 12:37:44 -05:00
{% set absoluteUrl %}{{ page.url | htmlBaseUrl(metadata.url) }}{% endset %}
<url>
<loc>{{ absoluteUrl }}</loc>
<lastmod>{{ page.date | htmlDateString }}</lastmod>
</url>
2018-09-24 15:09:15 -04:00
{%- endfor %}
</urlset>