diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 10:28:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-01 07:06:03 -0300 |
commit | 33cb835acac80575f2e73a638b8d01270426a653 (patch) | |
tree | 7db2685eec976c4c9ff2a90ce36714d9e7a8f1d0 /src/content/dependencies | |
parent | a2dec9fbdf795cd77940a70fe423a09ce754a700 (diff) |
content: generateTrackInfoPage: show album secondary nav
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 8 |
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, |