From 8328e62c52c11ad6ec78995d09dff3b7672d0535 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Mon, 13 Jul 2026 08:20:56 +0200 Subject: [PATCH 1/2] fix(video-message): restore gutterless message list The v2.0.1 cleanup removed the empty-string gutter argument, which under v6 lets the schema default (4) apply and adds a vertical 1.5rem gap between stacked messages. An explicit 0 passes validation (range 0-5) while the partial's with-guard skips the g-* class, reproducing the v1 rendering exactly. Co-Authored-By: Claude Fable 5 --- .../components/video-message/video-message.hugo.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/component-library/components/video-message/video-message.hugo.html b/component-library/components/video-message/video-message.hugo.html index 910398e..a9586d8 100644 --- a/component-library/components/video-message/video-message.hugo.html +++ b/component-library/components/video-message/video-message.hugo.html @@ -52,9 +52,12 @@ {{ $iconRounded := .iconRounded }} {{ $iconStyle := .iconStyle }} + {{/* gutter 0 suppresses the g-* class entirely (with-guard treats 0 as unset), + preserving the v1 message rhythm: default horizontal gutters, no vertical gap */}} {{- partial "assets/card-group.html" (dict "page" page "list" $list + "gutter" 0 "class" "border-0 card-icon card-icon-secondary" "cols" $cols "padding" "0" From 02e3ac7f566515e8cabd74ced9e2e7f661c017c0 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Mon, 13 Jul 2026 08:59:42 +0200 Subject: [PATCH 2/2] fix(hero): restore local fallback for heading width The horizontal image-column math relied on the argument engine filling heading.width with the global default (8). That nested default is suppressed at the type level (section titles and images span their columns as in v5), so an omitted heading.width would reach sub as nil and fail the build. A local fallback keeps the documented behavior regardless of engine fills. Co-Authored-By: Claude Fable 5 --- layouts/partials/assets/hero.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/assets/hero.html b/layouts/partials/assets/hero.html index d95fcf2..6fea222 100644 --- a/layouts/partials/assets/hero.html +++ b/layouts/partials/assets/hero.html @@ -43,8 +43,9 @@ Only applies to horizontal orientation; stacked uses $scale for the image wrapper instead. */}} {{ $imgColWidth := 12 }} {{ if eq $args.orientation "horizontal" }} - {{/* heading.width is filled by the argument engine (default 8) at any nesting depth */}} - {{ $imgColWidth = sub 12 $args.heading.width }} + {{/* keep a local fallback: heading.width carries no engine default (suppressed + at the type level so section titles and images span their columns) */}} + {{ $imgColWidth = sub 12 (or $args.heading.width 8) }} {{ if lt $imgColWidth 1 }}{{ $imgColWidth = 1 }}{{ end }} {{ end }}