From 2b2d89ffd233e331a6985fe762ac339befc972a3 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Mon, 17 Aug 2026 19:36:16 +0200 Subject: 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. --- models/blog-post.ini | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'models/blog-post.ini') 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. -- cgit v1.3.1