Permalinks changed from id to title slug...

This commit is contained in:
hbrain 2026-06-20 17:28:27 +02:00
parent 07aa53689e
commit db4a48d08d
7 changed files with 267 additions and 35 deletions

View file

@ -40,7 +40,7 @@ Important dirs:
- `location=...` / `place=...`
- Case-insensitive + accent-insensitive matching
- Shows title/date/location/teaser/description/quote_da
- Article permalinks use `?id=<article_id>`; filename fallback is no longer used
- Article permalinks use `/post/<title-slug>`; legacy `?id=<article_id>` URLs redirect to the canonical post URL.
- Permalink pages hide the bottom page numbers
- Optional map image per video (hidden when source article has `.mvlog-hide-map`)
- Video posters are resolved from the source image recorded in the thumbnail sidecar JSON; if the source image is missing, the `<video>` gets no poster
@ -101,7 +101,7 @@ Files:
- `sw.js` — service worker fallback notification text
Current text behavior:
- Show notifications open the article permalink (`./?id=<article_id>`)
- Show notifications open the canonical article permalink (`/post/<title-slug>`)
- payload body: `New aticle @ MVL!`
- SW fallback title/body: `MVL` / `New article @ MVL!`