diff options
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'), }), - ]); + ]; }, }; |