« get me outta code hell

content: gCommentaryContentHeading: parity w/ gReadCommentaryLine - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContentContentHeading.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-09-23 17:09:52 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-09-23 17:10:17 -0300
commitc55c061be21178b13b621d80cd8e2b83bba8ef97 (patch)
treeab7a5afacbe272b6853dde28f4ab501c15a9e52d /src/content/dependencies/generateContentContentHeading.js
parent934494b5f3ee610d6473b3ca4c21c80731c213af (diff)
content: gCommentaryContentHeading: parity w/ gReadCommentaryLine
Diffstat (limited to 'src/content/dependencies/generateContentContentHeading.js')
-rw-r--r--src/content/dependencies/generateContentContentHeading.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/dependencies/generateContentContentHeading.js b/src/content/dependencies/generateContentContentHeading.js
index 314ef197..555abb6b 100644
--- a/src/content/dependencies/generateContentContentHeading.js
+++ b/src/content/dependencies/generateContentContentHeading.js
@@ -28,12 +28,14 @@ export default {
       attributes: slots.attributes,
 
       title:
+        slots.string &&
         language.$(slots.string, {
           thing:
             html.tag('i', data.name),
         }),
 
       stickyTitle:
+        slots.string &&
         language.$(slots.string, 'sticky'),
     }),
 };