diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-01 13:47:10 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-01 20:06:23 -0400 |
commit | f53b9df7452ef886cf85db5bb72a48f32dce3dbb (patch) | |
tree | e173634830626d1d25b59c04600966f878f47c3c /src/content/dependencies/generatePreviousNextLinks.js | |
parent | e0defee7f7ab50bf3e6d33d6ab04f6c6795bab27 (diff) |
content: specify mutable across html & attributes slots
Diffstat (limited to 'src/content/dependencies/generatePreviousNextLinks.js')
-rw-r--r-- | src/content/dependencies/generatePreviousNextLinks.js | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/content/dependencies/generatePreviousNextLinks.js b/src/content/dependencies/generatePreviousNextLinks.js index e3417cb8..d3e529bf 100644 --- a/src/content/dependencies/generatePreviousNextLinks.js +++ b/src/content/dependencies/generatePreviousNextLinks.js @@ -6,9 +6,20 @@ export default { extraDependencies: ['html', 'language'], slots: { - previousLink: {type: 'html'}, - nextLink: {type: 'html'}, - id: {type: 'boolean', default: true}, + previousLink: { + type: 'html', + mutable: true, + }, + + nextLink: { + type: 'html', + mutable: true, + }, + + id: { + type: 'boolean', + default: true, + }, }, generate(slots, {html, language}) { |