« get me outta code hell

data, content, css: Aside Traack Section, Close Aside Track Section - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContentHeading.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-07-07 21:18:03 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-07-07 21:18:03 -0300
commit2ccb0588a304b3ce8855651e8a30f895a57880c0 (patch)
treef878792b2c8dbb632f9acbd7ac1ed85aed25923d /src/content/dependencies/generateContentHeading.js
parentb15da97e76176344d8b977558940a7f4324c0876 (diff)
data, content, css: Aside Traack Section, Close Aside Track Section preview
Diffstat (limited to 'src/content/dependencies/generateContentHeading.js')
-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 a7cf201f..28e01b24 100644
--- a/src/content/dependencies/generateContentHeading.js
+++ b/src/content/dependencies/generateContentHeading.js
@@ -36,6 +36,7 @@ export default {
   generate: (relations, slots, {html}) =>
     html.tag(slots.tag, {class: 'content-heading'},
       {tabindex: '0'},
+      {[html.onlyIfContent]: true},
       {[html.onlyIfSiblings]: true},
 
       slots.attributes,