« get me outta code hell

content: generateSecondaryNavParentSiblingsPart: showPreviousNext - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-10-19 22:04:16 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-11-02 22:25:47 -0300
commit5abe7259286d0fd28f9ba91abd08b046d0db7411 (patch)
treea3c2e0f539e2a2a0e5ddbd0733b6bc42d4a2fbc1 /src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js
parent5fd6da3e598a0bd6c480964234629c944c791a60 (diff)
content: generateSecondaryNavParentSiblingsPart: showPreviousNext
Diffstat (limited to 'src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js b/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js
index 12c72fd4..91e435ac 100644
--- a/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js
+++ b/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js
@@ -62,10 +62,10 @@ export default {
 
   generate: (data, relations, slots, {language}) =>
     relations.parentSiblingsPart.slots({
-      mode: slots.mode,
-
       attributes: {class: 'series-nav-link'},
 
+      showPreviousNext: slots.mode === 'album',
+
       colorStyle: relations.colorStyle,
 
       mainLink: