« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generateContentHeading.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js
index 469db876..ab883ed8 100644
--- a/src/content/dependencies/generateContentHeading.js
+++ b/src/content/dependencies/generateContentHeading.js
@@ -17,6 +17,11 @@ export default {
       mutable: false,
     },
 
+    attributes: {
+      type: 'attributes',
+      mutable: false,
+    },
+
     color: {validate: v => v.isColor},
 
     id: {type: 'string'},
@@ -27,6 +32,8 @@ export default {
     html.tag(slots.tag, {class: 'content-heading'},
       {tabindex: '0'},
 
+      slots.attributes,
+
       slots.id &&
         {id: slots.id},