From b2766fcd2410f599576887b108f98d752894e9ee Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 24 Apr 2024 10:28:04 -0300 Subject: content: generateTrackInfoPage: show album secondary nav --- src/content/dependencies/generateTrackInfoPage.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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, -- cgit 1.3.0-6-gf8a5