Add persitent URLs for year/month/day in the diary

This commit is contained in:
2026-05-08 18:15:09 +02:00
parent 34e2a8972a
commit e060faa39f
3 changed files with 97 additions and 1 deletions
+10
View File
@@ -69,3 +69,13 @@ FolderName/
| Day (`DD/`) | Entry content and photo grid |
Days with photos but no `index.md` still appear in the month view and can be created by clicking their heading link.
#### Persistent date links
Each diary root exposes three stable paths intended for browser bookmarks. They redirect to the current dated URL on every visit:
| Path | Redirects to |
|------|-------------|
| `<diary>/today/` | `<diary>/YYYY/MM/DD/` (or `…/?edit` if the day folder does not exist yet) |
| `<diary>/this-month/` | `<diary>/YYYY/MM/` |
| `<diary>/this-year/` | `<diary>/YYYY/` |