« 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/dependencies/generateSecondaryNavParentSiblingsPart.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateSecondaryNavParentSiblingsPart.js')
-rw-r--r--src/content/dependencies/generateSecondaryNavParentSiblingsPart.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js b/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
index d52a483f..c2051db0 100644
--- a/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
+++ b/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
@@ -27,6 +27,11 @@ export default {
       default: true,
     },
 
+    id: {
+      type: 'boolean',
+      default: false,
+    },
+
     attributes: {
       type: 'attributes',
       mutable: false,
@@ -92,12 +97,12 @@ export default {
             relations.switcher.slots({
               links: [
                 relations.previousLink.slots({
-                  id: false,
+                  id: slots.id,
                   link: slots.previousLink,
                 }),
 
                 relations.nextLink.slots({
-                  id: false,
+                  id: slots.id,
                   link: slots.nextLink,
                 }),
               ],