« get me outta code hell

content: generateContentHeading: always onlyIfSiblings - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-12 13:09:12 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-12 17:32:55 -0300
commite1548a20e014e157ab218c137d5a9867343fd02e (patch)
tree022477e83da07a1135d8403a3fad76d597e24d19 /src
parentd6ff52b3f7d3096412a53116c49f5120a082cbf0 (diff)
content: generateContentHeading: always onlyIfSiblings
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateContentHeading.js1
1 files changed, 1 insertions, 0 deletions
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,