diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 10:28:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 10:28:36 -0300 |
commit | b2766fcd2410f599576887b108f98d752894e9ee (patch) | |
tree | a750cf74ac5cb777b2b2897c78c783a58befff1d /src/content | |
parent | 4304b01884bf997518a55c6de1ae15456d4c1b46 (diff) |
content: generateTrackInfoPage: show album secondary nav
Diffstat (limited to 'src/content')
-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, |