« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-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 1b5fbbf8..a3ff07bd 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -10,6 +10,7 @@ export default {
     'generateAdditionalFilesShortcut',
     'generateAlbumAdditionalFilesList',
     'generateAlbumNavAccent',
+    'generateAlbumSecondaryNav',
     'generateAlbumSidebar',
     'generateAlbumStyleRules',
     'generateChronologyLinks',
@@ -112,6 +113,9 @@ export default {
     relations.chronologyLinks =
       relation('generateChronologyLinks');
 
+    relations.secondaryNav =
+      relation('generateAlbumSecondaryNav', track.album);
+
     relations.sidebar =
       relation('generateAlbumSidebar', track.album, track);
 
@@ -595,6 +599,10 @@ export default {
             ],
           }),
 
+        secondaryNav:
+          relations.secondaryNav
+            .slot('mode', 'track'),
+
         leftSidebar: relations.sidebar,
 
         socialEmbed: relations.socialEmbed,