Sort menu posts by publication date with YYYY-MM-DD shortened-title prefix

This commit is contained in:
trilium-share-gruvbox
2026-08-28 15:00:39 +02:00
parent a8d9c83ae7
commit 8c4ba5af94
4 changed files with 63 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@ no external dependencies (except `highlight.js`, vendored in `lib/`).
- Gruvbox light/dark theme for the share, with a theme toggle in the header.
- Blog index, category pages, sub-categories, tags and tag overview.
- **Menu sorting**: articles in the left menu are sorted by publication date (newest first)
and labelled `YYYY-MM-DD <shortened title>` automatically.
- **Article thumbnails**: each post card shows the first image of the article on the left
(bounded by the teaser height), summary on the right, lazy-loaded. If an article has a child
note named `*_thumb.*` (e.g. `ngc281_thumb.jpg`), that image is used instead ideal for