diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-19 22:05:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-02 22:25:47 -0300 |
commit | 68f5820a0d7e4f1ad472d55ea662483fc4605788 (patch) | |
tree | 2eab5c6d20145120da9991ead1337aead807605b /src/content/dependencies/generateSecondaryNavParentSiblingsPart.js | |
parent | 5abe7259286d0fd28f9ba91abd08b046d0db7411 (diff) |
content: generateSecondaryNavParentSiblingsPart: id
Diffstat (limited to 'src/content/dependencies/generateSecondaryNavParentSiblingsPart.js')
-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, }), ], |