« 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/generateFlashInfoPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateFlashInfoPage.js')
-rw-r--r--src/content/dependencies/generateFlashInfoPage.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/content/dependencies/generateFlashInfoPage.js b/src/content/dependencies/generateFlashInfoPage.js
index ee043bfa..7f047cad 100644
--- a/src/content/dependencies/generateFlashInfoPage.js
+++ b/src/content/dependencies/generateFlashInfoPage.js
@@ -4,6 +4,7 @@ export default {
   contentDependencies: [
     'generateAdditionalNamesBox',
     'generateCommentaryEntry',
+    'generateCommentaryContentHeading',
     'generateContentContentHeading',
     'generateContentHeading',
     'generateContributionList',
@@ -57,6 +58,9 @@ export default {
     contentContentHeading:
       relation('generateContentContentHeading', flash),
 
+    commentaryContentHeading:
+      relation('generateCommentaryContentHeading', flash),
+
     flashActLink:
       relation('linkFlashAct', flash.act),
 
@@ -172,12 +176,7 @@ export default {
           ]),
 
           html.tags([
-            relations.contentContentHeading.clone()
-              .slots({
-                attributes: {id: 'artist-commentary'},
-                string: 'misc.artistCommentary',
-              }),
-
+            relations.commentaryContentHeading,
             relations.artistCommentaryEntries,
           ]),