diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateSecondaryNavParentSiblingsPart.js | 9 |
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, }), ], |