« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generatePageLayout.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index c6c79789..7605c00d 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -414,6 +414,10 @@ export default {
                         })),
                     ]);
 
+                if (slots.navLinkStyle === 'index') {
+                  return navLink;
+                }
+
                 const prev =
                   atOffset(entries, i, -1);