From a69bdd2c6c02286f63ce19812ed42c4576423c3d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 21 Nov 2022 21:54:18 -0400 Subject: use [html.onlyIfContent] where it makes sense which was only like one place lol --- src/page/homepage.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/page/homepage.js b/src/page/homepage.js index c15c969a..7295ba09 100644 --- a/src/page/homepage.js +++ b/src/page/homepage.js @@ -91,11 +91,14 @@ export function writeTargetless({wikiData}) { lazy: i > 0, })), - !empty(entry.actionLinks) && - html.tag('div', {class: 'grid-actions'}, - entry.actionLinks.map(action => - transformInline(action) - .replace(' + transformInline(action) + .replace('