From d3c5ce976e1abf0ae6791fb45b8713b16f031918 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 13 Jul 2025 11:20:36 -0300 Subject: content: generateFlashInfoPage: use commentary content heading --- src/content/dependencies/generateFlashInfoPage.js | 11 +++++------ 1 file 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, ]), -- cgit 1.3.0-6-gf8a5