From a6c2017b4d49e6e52fe3186b0d981d13414c9e0e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 19 Dec 2024 12:16:21 -0400 Subject: content: generateSecondaryNav: class -> attributes slot Just cleanup! class slots are so oldschool. --- src/content/dependencies/generateAlbumSecondaryNav.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/dependencies/generateAlbumSecondaryNav.js') diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js index 79a26b19..2585e171 100644 --- a/src/content/dependencies/generateAlbumSecondaryNav.js +++ b/src/content/dependencies/generateAlbumSecondaryNav.js @@ -109,11 +109,11 @@ export default { return relations.secondaryNav.slots({ alwaysVisible: slots.alwaysVisible, - class: [ - 'album-secondary-nav', + attributes: [ + {class: 'album-secondary-nav'}, slots.mode === 'album' && - 'with-previous-next', + {class: 'with-previous-next'}, ], content: -- cgit 1.3.0-6-gf8a5