« get me outta code hell

content: generateAlbumCommentaryPage: secondary nav - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateAlbumCommentaryPage.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-19 12:49:37 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-19 13:25:17 -0400
commit916fc9c5c3b290602ac19e84269150ffbb7ab3b1 (patch)
treecaa08834ed4697e8228cddb58ba5f5fd0d956a78 /src/content/dependencies/generateAlbumCommentaryPage.js
parentd4318084d64209c26bda6464b25dcd53f7479086 (diff)
content: generateAlbumCommentaryPage: secondary nav
Diffstat (limited to 'src/content/dependencies/generateAlbumCommentaryPage.js')
-rw-r--r--src/content/dependencies/generateAlbumCommentaryPage.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumCommentaryPage.js b/src/content/dependencies/generateAlbumCommentaryPage.js
index e323ed39..eb07a226 100644
--- a/src/content/dependencies/generateAlbumCommentaryPage.js
+++ b/src/content/dependencies/generateAlbumCommentaryPage.js
@@ -5,6 +5,7 @@ export default {
     'generateAlbumCommentarySidebar',
     'generateAlbumCoverArtwork',
     'generateAlbumNavAccent',
+    'generateAlbumSecondaryNav',
     'generateAlbumStyleRules',
     'generateCommentaryEntry',
     'generateContentHeading',
@@ -23,6 +24,9 @@ export default {
     relations.layout =
       relation('generatePageLayout');
 
+    relations.secondaryNav =
+      relation('generateAlbumSecondaryNav', album);
+
     relations.sidebar =
       relation('generateAlbumCommentarySidebar', album);
 
@@ -265,6 +269,11 @@ export default {
           },
         ],
 
+        secondaryNav:
+          relations.secondaryNav.slots({
+            alwaysVisible: true,
+          }),
+
         leftSidebar: relations.sidebar,
       })),
 };