« get me outta code hell

content: generateSecondaryNav: class -> attributes slot - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateAlbumSecondaryNav.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-19 12:16:21 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-19 13:25:16 -0400
commita6c2017b4d49e6e52fe3186b0d981d13414c9e0e (patch)
tree260aa4e2297496412baed8b7e5f9a24c61b23839 /src/content/dependencies/generateAlbumSecondaryNav.js
parent27b5e9a6fd4dff1ab3a1dced2d01cc056940fc6e (diff)
content: generateSecondaryNav: class -> attributes slot
Just cleanup! class slots are so oldschool.
Diffstat (limited to 'src/content/dependencies/generateAlbumSecondaryNav.js')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNav.js6
1 files changed, 3 insertions, 3 deletions
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: