Add article thumbnails (first image, max 256x256, bounded by teaser height) to post cards

This commit is contained in:
trilium-share-gruvbox
2026-08-28 14:02:11 +02:00
parent 1664e55e4e
commit 9a20dfa2e1
3 changed files with 55 additions and 2 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.
- **Article thumbnails**: each post card shows the first image of the article on the left
(max 256×256, bounded by the teaser height), summary on the right, lazy-loaded.
- **Pagination**: 10 posts per page on the index and category pages, with prev/next
navigation between the pages; article prev/next links stay within the article's category.
- Article metadata: date, category, summary, tags, prev/next navigation, reading time.