Compare commits

..

No commits in common. "4e8894a5e4b7c8c32b509406cf11586c53b2bd46" and "4c944c16d721c066d74e6375984989b26ffaf7df" have entirely different histories.

2 changed files with 1 additions and 16 deletions

View File

@ -7,4 +7,4 @@ Disallow:
{{ robots.txt }} {{ robots.txt }}
Sitemap: {{ sitemeta.siteUrl }}/sitemap.xml Sitemap: {{ sitemeta.siteUrl }}/sitemap/

View File

@ -1,15 +0,0 @@
---
permalink: sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for item in collections.all -%}
<url>
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
<changefreq>{{ item.data.sitemap.changefreq | default("weekly") }}</changefreq>
<priority>{{ item.data.sitemap.priority | default(0.5) }}</priority>
</url>
{%- endfor %}
</urlset>