SEO bits. styling bits, nvmrc

This commit is contained in:
Rik Berkelder 2025-02-04 19:38:08 +01:00
parent 363014ae07
commit f9f29d6be7
8 changed files with 111 additions and 41 deletions

16
content/sitemap.njk Normal file
View file

@ -0,0 +1,16 @@
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.all %}
{% if not page.data.draft %}
<url>
<loc>{{ site.url }}{{ page.url | url }}</loc>
<lastmod>{{ page.date.toISOString() }}</lastmod>
<changefreq>{{ page.data.changeFreq if page.data.changeFreq else "monthly" }}</changefreq>
</url>
{% endif %}
{% endfor %}
</urlset>