« get me outta code hell

content: generatePageLayout etc: drop has-divider class - 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-04-24 15:55:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-24 15:55:38 -0300
commit065d9bdcc7c0fe23c9eb1fa739966440e0d11057 (patch)
treee417795a64d49ac631238af205a47ee3950feee7 /src/content/dependencies/generateAlbumSecondaryNav.js
parent8934fd3ee598e9370e2f7e6fc66aa47f6e348938 (diff)
content: generatePageLayout etc: drop has-divider class
Introduced for blockwrap purposes earlier, but unneeded since we
didn't actually use a blockwrap here in the end.
Diffstat (limited to 'src/content/dependencies/generateAlbumSecondaryNav.js')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNav.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js
index 3b7a168d..d6ff8a0a 100644
--- a/src/content/dependencies/generateAlbumSecondaryNav.js
+++ b/src/content/dependencies/generateAlbumSecondaryNav.js
@@ -151,11 +151,8 @@ export default {
       stitchArrays({
         content: navLinkContents,
         colorStyle: relations.colorStyles,
-      }).map(({content, colorStyle}, index) =>
+      }).map(({content, colorStyle}) =>
           html.tag('span', {class: 'nav-link'},
-            index > 0 &&
-              {class: 'has-divider'},
-
             colorStyle.slot('context', 'primary-only'),
 
             content));