Add persitent URLs for year/month/day in the diary
This commit is contained in:
@@ -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/` |
|
||||
|
||||
Reference in New Issue
Block a user