diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-12 18:10:49 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-12 18:10:49 -0300 |
commit | 85b797fe83af8206d81286770551021bdc606cce (patch) | |
tree | de034536b8ff1989f7711b0498feb31744abdea4 /src/content/dependencies | |
parent | 91f07746a29f11ea18ab30e29bc49867812e7403 (diff) |
content: generatePreviousNextLinks: don't wrap in html.tags
This is mildly obnoxious.
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generatePreviousNextLinks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generatePreviousNextLinks.js b/src/content/dependencies/generatePreviousNextLinks.js index 5bdcc3ad..ab10b729 100644 --- a/src/content/dependencies/generatePreviousNextLinks.js +++ b/src/content/dependencies/generatePreviousNextLinks.js @@ -11,7 +11,7 @@ export default { }, generate(slots, {html, language}) { - return html.tags([ + return [ !html.isBlank(slots.previousLink) && slots.previousLink.slots({ tooltip: true, @@ -25,6 +25,6 @@ export default { attributes: {id: 'next-button'}, content: language.$('misc.nav.next'), }), - ]); + ]; }, }; |