From 68f5820a0d7e4f1ad472d55ea662483fc4605788 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 19 Oct 2024 22:05:04 -0300 Subject: content: generateSecondaryNavParentSiblingsPart: id --- .../dependencies/generateSecondaryNavParentSiblingsPart.js | 9 +++++++-- 1 file 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, }), ], -- cgit 1.3.0-6-gf8a5