From 1af817249d115ff7013d3ab1a30ea145e30924c7 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 8 Aug 2026 19:32:47 +0200 Subject: Add aspect-ratio-aware image galleries This adds a project-local gallery plugin that builds deterministic rectangular image layouts from attachment aspect ratios, with both in-process and disk-backed layout caching. It also adds gallery flow blocks, templates, and CSS so posts can include responsive galleries with lazy-loaded images, configurable gaps, target ratios, and the existing breakout/centering utilities. --- models/blog-post.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models') diff --git a/models/blog-post.ini b/models/blog-post.ini index 39b5cb3..006376b 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -44,5 +44,5 @@ width = 1/2 [fields.body] label = Body type = flow -flow_blocks = markdown, trail -description = Build the post from Markdown sections and optional trail maps. +flow_blocks = markdown, trail, gallery +description = Build the post from Markdown sections, trail maps or galleries. -- cgit v1.3.1