Add sitemap support and enhance service worker caching strategy

This commit is contained in:
2025-03-20 11:30:27 +01:00
parent f915dad908
commit 63de9a9476
2 changed files with 45 additions and 4 deletions

11
sitemap.json.html Normal file
View File

@@ -0,0 +1,11 @@
---
permalink: /sitemap.json
---
{
"pages": [
{% for page in site.pages %}
{ "url": "{{ page.url | relative_url }}" }{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}