diff options
| author | Dennis Fink | 2026-08-17 19:36:16 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-08-17 20:00:16 +0200 |
| commit | 2b2d89ffd233e331a6985fe762ac339befc972a3 (patch) | |
| tree | 29f4850886342743cfef6231395f66529fb196b2 /models | |
| parent | be8614b3c5f63b9e94341166567b9198746f98aa (diff) | |
| download | dennisfink.me-2b2d89ffd233e331a6985fe762ac339befc972a3.tar.gz dennisfink.me-2b2d89ffd233e331a6985fe762ac339befc972a3.zip | |
Add post changelogs
This replaces the manual `updated_date` field with a changelog flow
field so post updates can be recorded as dated entries.
The blog template now derives the "Last updated" metadata from the
latest changelog entry and renders the full changelog in the article
footer, with dedicated styling for compact change notes.
Diffstat (limited to '')
| -rw-r--r-- | models/blog-post.ini | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/models/blog-post.ini b/models/blog-post.ini index 006376b..4a91868 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -10,12 +10,7 @@ size = large [fields.publication_date] label = Publication date type = date -width = 1/2 - -[fields.updated_date] -label = Updated date -type = date -width = 1/2 +width = 1 [fields.category] label = Category @@ -46,3 +41,9 @@ label = Body type = flow flow_blocks = markdown, trail, gallery description = Build the post from Markdown sections, trail maps or galleries. + +[fields.changelog] +label = Changelog +type = flow +flow_blocks = changelog +description = Record changes made to the post after publication. |
