From e1548a20e014e157ab218c137d5a9867343fd02e 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(+) (limited to 'src/content') 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