From 8928793a9683e742985c744c93f623d04a645d49 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 12 Jun 2024 13:09:12 -0300 Subject: content: generateContentHeading: always onlyIfSiblings --- src/content/dependencies/generateContentHeading.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js index eafe77d8..f52bc043 100644 --- a/src/content/dependencies/generateContentHeading.js +++ b/src/content/dependencies/generateContentHeading.js @@ -38,6 +38,7 @@ export default { generate: (relations, slots, {html}) => html.tag(slots.tag, {class: 'content-heading'}, {tabindex: '0'}, + {[html.onlyIfSiblings]: true}, slots.attributes, -- cgit 1.3.0-6-gf8a5