« get me outta code hell

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:
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'),
     }),
 };