From 85b797fe83af8206d81286770551021bdc606cce Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 12 Jun 2023 18:10:49 -0300 Subject: content: generatePreviousNextLinks: don't wrap in html.tags This is mildly obnoxious. --- src/content/dependencies/generatePreviousNextLinks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/dependencies/generatePreviousNextLinks.js') 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'), }), - ]); + ]; }, }; -- cgit 1.3.0-6-gf8a5