« get me outta code hell

content: generateTrackInfoPage: credit sources section - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackInfoPage.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-21 17:57:37 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-24 15:03:10 -0300
commit3ec7d66ece76cea96b0caa14e5729b5642a76afd (patch)
tree66746a5a24e9df5f2574dd8d4db96417d7062d56 /src/content/dependencies/generateTrackInfoPage.js
parentd109eddb08e3e4c147e3b383fb2502936a253707 (diff)
content: generateTrackInfoPage: credit sources section
Diffstat (limited to 'src/content/dependencies/generateTrackInfoPage.js')
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 64ed0cb4..dd234bf4 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -113,6 +113,9 @@ export default {
 
     artistCommentarySection:
       relation('generateCommentarySection', track.commentary),
+
+    creditSourcesSection:
+      relation('generateCommentarySection', track.creditSources),
   }),
 
   data: (sprawl, track) => ({
@@ -359,6 +362,11 @@ export default {
           ]),
 
           relations.artistCommentarySection,
+
+          relations.creditSourcesSection.slots({
+            title:
+              language.$('misc.creditSources'),
+          }),
         ],
 
         navLinkStyle: 'hierarchical',