Docs: thumb.<ext> child-note thumbnail pattern, auto-hide from menu, inline image attachments (/image/ path) convention

This commit is contained in:
trilium-share-gruvbox
2026-08-28 20:54:43 +02:00
parent e224dea9aa
commit 5eacadd574
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -57,6 +57,11 @@ CSS file (Gruvbox, light + dark, theme toggle without reload).
`max-height:256px`, lazy-loaded. The generator auto-sets `shareHiddenFromTree` on matching
thumb child notes so they never appear in the blog menu. **There is no server-side resizing**
see "Limitations".
- **Inline images in article content**: pasted image attachments render as
`<img src="api/attachments/<attachmentId>/image/<filename>">`. The share only serves
attachments through that `/image/` path segment without it the request 404s. Use image
**attachments** for inline images (no child note, no menu clutter) and keep the `thumb.<ext>`
child note as the only image child.
- Regenerates `feed.xml`, `sitemap.xml`, `state_map` (garden states) and `blog_data`
(search index: id/title/url/summary/tags/category). Sets `shareDescription` from `summary`.