README: document menu date sort script and blog_data date field

This commit is contained in:
trilium-share-gruvbox
2026-08-28 15:02:37 +02:00
parent 8c4ba5af94
commit 11216f8996
+4 -3
View File
@@ -122,6 +122,7 @@ Under **`.blog`** create one code note per file, using the file name as the note
| `reading time` | `scripts/reading_time.js` | `text/html` | | `reading time` | `scripts/reading_time.js` | `text/html` |
| `search header` | `scripts/search_header.js` | `text/html` | | `search header` | `scripts/search_header.js` | `text/html` |
| `note fallback` | `scripts/note_fallback.js` | `text/html` | | `note fallback` | `scripts/note_fallback.js` | `text/html` |
| `menu date sort` | `scripts/menu_date_sort.js` | `text/html` |
| `feed.xml` | `generated/feed.xml` | code (regenerated) | | `feed.xml` | `generated/feed.xml` | code (regenerated) |
| `sitemap.xml` | `generated/sitemap.xml` | code (regenerated) | | `sitemap.xml` | `generated/sitemap.xml` | code (regenerated) |
| `state_map` | `generated/state_map.js` | `text/html` (regenerated) | | `state_map` | `generated/state_map.js` | `text/html` (regenerated) |
@@ -146,7 +147,7 @@ mime `application/javascript;env=backend`) and `blog_publish_manager` (from
| `iconClass` | `bx bx-edit-alt` | | | `iconClass` | `bx bx-edit-alt` | |
| `~shareCss` | → `blog_share_theme.css` | yes | | `~shareCss` | → `blog_share_theme.css` | yes |
| `~shareFavicon` | → `favicon` | yes | | `~shareFavicon` | → `favicon` | yes |
| `~shareHtml` | → `table column hover`, `blog card click`, `garden row click`, `code note highlight`, `code copy & lines`, `state_map`, `title state badge`, `bmc button`, `logo share alias`, `blog_data`, `prev next`, `reading time`, `search header`, `ignis8 menu icon` (optional), `note fallback` | yes | | `~shareHtml` | → `table column hover`, `blog card click`, `garden row click`, `code note highlight`, `code copy & lines`, `state_map`, `title state badge`, `bmc button`, `logo share alias`, `blog_data`, `prev next`, `reading time`, `search header`, `ignis8 menu icon` (optional), `note fallback`, `menu date sort` | yes |
| `~shareHtml` | → `hide home title` | **no** (index only) | | `~shareHtml` | → `hide home title` | **no** (index only) |
| `~runOnNoteContentChange`, `~runOnAttributeChange`, `~runOnNoteCreation`, `~runOnNoteTitleChange`, `~runOnAttributeCreation`, `~runOnBranchDeletion`, `~runOnChildNoteCreation` | → `blog_generator` | yes | | `~runOnNoteContentChange`, `~runOnAttributeChange`, `~runOnNoteCreation`, `~runOnNoteTitleChange`, `~runOnAttributeCreation`, `~runOnBranchDeletion`, `~runOnChildNoteCreation` | → `blog_generator` | yes |
| `~runOnAttributeChange`, `~runOnAttributeCreation` | → `blog_publish_manager` | yes | | `~runOnAttributeChange`, `~runOnAttributeCreation` | → `blog_publish_manager` | yes |
@@ -246,8 +247,8 @@ server {
same way; page notes live in the `.blog` system note and are tagged with `blogPagedFor`. same way; page notes live in the `.blog` system note and are tagged with `blogPagedFor`.
- Writes **tag pages** and the **tags overview**. - Writes **tag pages** and the **tags overview**.
- Regenerates `feed.xml` (RSS), `sitemap.xml`, `state_map` (garden states) and `blog_data` - Regenerates `feed.xml` (RSS), `sitemap.xml`, `state_map` (garden states) and `blog_data`
(search index with title, summary, tags and category used by the header search and the (search index with title, summary, tags, category and `YYYY-MM-DD` date used by the
category-scoped prev/next). header search, the category-scoped prev/next and the date-sorted menu).
- Sets `shareDescription` on every published note from its `summary`. - Sets `shareDescription` on every published note from its `summary`.
## Customisation ## Customisation