From 220df90658da7a89a5a75ba6deb6379c57b85846 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 5 Aug 2026 14:53:30 +0200 Subject: [PATCH 1/2] refactor(components): reference the shared heading-level arguments heading-level and heading-class shipped in v3.19.0 as full inline definitions. They are common arguments, so they now live once in mod-utils _arguments.yml; reduce these to release-only overrides, the same shape 98 other arguments across these structures already use. Requires a mod-utils release carrying the two definitions, plus a module bump here. Until then the argument schema has no type for either key and tests/templates fails. Co-Authored-By: Claude Opus 5 (1M context) --- data/structures/section-title.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/data/structures/section-title.yml b/data/structures/section-title.yml index 2140613a..341c2748 100644 --- a/data/structures/section-title.yml +++ b/data/structures/section-title.yml @@ -13,23 +13,9 @@ arguments: size: use-title: heading-level: - type: int - optional: true release: v3.19.0 - comment: >- - Heading level of the title, from 1 (h1) to 6 (h6). Defaults to 0, which - renders a div instead of a heading. Content blocks receive a level from - the page that renders them, so the first titled block of a page without a - page header becomes its h1. heading-class: - type: string - optional: true release: v3.19.0 - comment: >- - Classes for the heading element, applied only when a heading level renders - one. Replaces the margin reset that otherwise keeps a title raised by - heading-level aligned with the div it succeeds; pass an empty string to - leave the element on its own styling. justify: link-type: use-section: From 910cad079043b951d267065cd957308580a597df Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 5 Aug 2026 15:12:16 +0200 Subject: [PATCH 2/2] fix(deps): bump mod-utils to v6.9.0 Carries the shared heading-level and heading-class definitions that section-title.yml now references. Co-Authored-By: Claude Opus 5 (1M context) --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1ff65e42..d19725cc 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/gethinode/mod-lottie/v3 v3.0.4 // indirect github.com/gethinode/mod-mermaid/v5 v5.0.4 // indirect github.com/gethinode/mod-simple-datatables/v4 v4.1.1 // indirect - github.com/gethinode/mod-utils/v6 v6.8.5 // indirect + github.com/gethinode/mod-utils/v6 v6.9.0 // indirect github.com/nextapps-de/flexsearch v0.0.0-20260529083235-f7ed963096a0 // indirect github.com/twbs/bootstrap v5.3.8+incompatible // indirect ) diff --git a/go.sum b/go.sum index 7ef80b1f..d2db25ec 100644 --- a/go.sum +++ b/go.sum @@ -50,6 +50,8 @@ github.com/gethinode/mod-utils/v6 v6.8.4 h1:L8x3IcWEn2kms7WWuYwtbi/x7lIR18z+eJhU github.com/gethinode/mod-utils/v6 v6.8.4/go.mod h1:E5tO9w3VKaidJpu1nI8zAKmh0bddFHOIIQnudAaXQTs= github.com/gethinode/mod-utils/v6 v6.8.5 h1:hzJgNjw6NIORMvxeJ3Q6+qPaPzLc4CQtNTWRXFVjFPM= github.com/gethinode/mod-utils/v6 v6.8.5/go.mod h1:E5tO9w3VKaidJpu1nI8zAKmh0bddFHOIIQnudAaXQTs= +github.com/gethinode/mod-utils/v6 v6.9.0 h1:+7RsNAfYCaM3rAzwrkTC6Ui3vcpGYWj1Ek1CmUVcaq0= +github.com/gethinode/mod-utils/v6 v6.9.0/go.mod h1:E5tO9w3VKaidJpu1nI8zAKmh0bddFHOIIQnudAaXQTs= github.com/nextapps-de/flexsearch v0.0.0-20260529083235-f7ed963096a0 h1:QDKcU3q39lFGzdVwM6kgCGnW3ibbMfYIi0Rwl62iJpo= github.com/nextapps-de/flexsearch v0.0.0-20260529083235-f7ed963096a0/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o=