From 970f84ef7e69cc516ab18c8b1242072c6ea45481 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 29 Jul 2026 20:40:53 +0200 Subject: [PATCH 1/2] fix: declare the cue attribute on the links item type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit assets/link.html and assets/button.html both accept cue — the per-element override for main.externalLinks.cue — and content legitimately sets it on an entry of a links list to suppress the external-link icon on a link that already carries its own brand icon. The shared links item type does not declare it, so the v6 validation engine logs warn-invalid-arguments ('unsupported attribute') on every render of such content. cue has a global definition in _arguments.yml (bool, optional, no default), so the member compiles without further changes and an absent value stays absent, leaving the consuming partial free to apply main.externalLinks.cue. Co-Authored-By: Claude Opus 5 (1M context) --- data/structures/_types.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/structures/_types.yml b/data/structures/_types.yml index d31d8c3..f37205a 100644 --- a/data/structures/_types.yml +++ b/data/structures/_types.yml @@ -78,6 +78,10 @@ types: download: icon: force: + # no inherited default of its own: cue is declared optional without a + # default in _arguments.yml, so an absent value stays absent and the + # consuming partial applies main.externalLinks.cue + cue: # no inherited defaults: downstream partials layer their own (download.yml # sets outline/order; section context supplies order) as in v5 order: { default: } From c09f6bcf4752c473f78ae94a95a0d624aa76565c Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 29 Jul 2026 21:02:16 +0200 Subject: [PATCH 2/2] fix: declare the tab attribute on the links item type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Companion to the cue declaration. assets/link.html and assets/button.html both accept tab — the per-element override for main.externalLinks.tab — so an entry of a links list can keep an external link in the same tab. The shared links item type did not declare it, so the v6 validation engine logs warn-invalid-arguments ('unsupported attribute') on such content. Like cue, tab has a global definition in _arguments.yml (bool, optional, no default), so the member compiles without further changes and an absent value stays absent for the consuming partial to resolve. Co-Authored-By: Claude Opus 5 (1M context) --- data/structures/_types.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/structures/_types.yml b/data/structures/_types.yml index f37205a..b2e1054 100644 --- a/data/structures/_types.yml +++ b/data/structures/_types.yml @@ -78,10 +78,11 @@ types: download: icon: force: - # no inherited default of its own: cue is declared optional without a - # default in _arguments.yml, so an absent value stays absent and the - # consuming partial applies main.externalLinks.cue + # no inherited defaults of their own: cue and tab are declared optional + # without a default in _arguments.yml, so an absent value stays absent and + # the consuming partial applies main.externalLinks.cue / .tab cue: + tab: # no inherited defaults: downstream partials layer their own (download.yml # sets outline/order; section context supplies order) as in v5 order: { default: }