diff options
| author | Dennis Fink | 2026-11-04 19:08:41 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-04 19:08:41 +0100 |
| commit | f284b9ad986a33e4121eb40a0fb3106ac052a984 (patch) | |
| tree | 5583d726840a0b1e293e751d840a211b8a3a7d11 /content/sitemap.xml | |
| parent | 99fe96443fe38685dc7d01f38cf7db9ce2ae5f79 (diff) | |
| download | dennisfink.me-f284b9ad986a33e4121eb40a0fb3106ac052a984.tar.gz dennisfink.me-f284b9ad986a33e4121eb40a0fb3106ac052a984.zip | |
Add XML sitemap generation
This adds a sitemap template that recursively lists site pages and their
URLs, with child pages sorted by path for consistent output.
It also registers `/sitemap.xml` as a non-discoverable Lektor page and
advertises the sitemap in the site's document head.
Diffstat (limited to '')
| -rw-r--r-- | content/sitemap.xml/contents.lr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/sitemap.xml/contents.lr b/content/sitemap.xml/contents.lr new file mode 100644 index 0000000..e89ddb7 --- /dev/null +++ b/content/sitemap.xml/contents.lr @@ -0,0 +1,5 @@ +_template: sitemap.xml +--- +_model: none +--- +_discoverable: no |
