« get me outta code hell

content: "read artist and wiki commentary", etc - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackArtistCommentarySection.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-12 17:14:47 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-12 17:14:47 -0300
commit837b1d1bb09986e4a5634d52acf61c8c748ba88b (patch)
treebfb69d117bf5fa79ec6fa866be04029c47b66bb0 /src/content/dependencies/generateTrackArtistCommentarySection.js
parentc6bdd7a09b3968de3b0ebb19a129d081efc7c09a (diff)
content: "read artist and wiki commentary", etc
Diffstat (limited to 'src/content/dependencies/generateTrackArtistCommentarySection.js')
-rw-r--r--src/content/dependencies/generateTrackArtistCommentarySection.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/content/dependencies/generateTrackArtistCommentarySection.js b/src/content/dependencies/generateTrackArtistCommentarySection.js
index 50565bce..5ed24d6c 100644
--- a/src/content/dependencies/generateTrackArtistCommentarySection.js
+++ b/src/content/dependencies/generateTrackArtistCommentarySection.js
@@ -2,7 +2,7 @@ import {empty, stitchArrays} from '#sugar';
 
 export default {
   contentDependencies: [
-    'generateContentContentHeading',
+    'generateCommentaryContentHeading',
     'generateCommentaryEntry',
     'linkAlbum',
     'linkTrack',
@@ -18,8 +18,8 @@ export default {
   }),
 
   relations: (relation, query, track) => ({
-    contentContentHeading:
-      relation('generateContentContentHeading', track),
+    commentaryContentHeading:
+      relation('generateCommentaryContentHeading', track),
 
     mainReleaseTrackLink:
       (track.isSecondaryRelease
@@ -78,11 +78,7 @@ export default {
   generate: (data, relations, {html, language}) =>
     language.encapsulate('misc.artistCommentary', capsule =>
       html.tags([
-        relations.contentContentHeading.slots({
-          attributes: {id: 'artist-commentary'},
-          string: 'misc.artistCommentary',
-        }),
-
+        relations.commentaryContentHeading,
         relations.artistCommentaryEntries,
 
         data.isSecondaryRelease &&