From 5abe7259286d0fd28f9ba91abd08b046d0db7411 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 19 Oct 2024 22:04:16 -0300 Subject: content: generateSecondaryNavParentSiblingsPart: showPreviousNext --- src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js') 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: -- cgit 1.3.0-6-gf8a5