diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateWikiHomeNewsBox.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/content/dependencies/generateWikiHomeNewsBox.js b/src/content/dependencies/generateWikiHomeNewsBox.js index a1efb810..45a3376b 100644 --- a/src/content/dependencies/generateWikiHomeNewsBox.js +++ b/src/content/dependencies/generateWikiHomeNewsBox.js @@ -66,9 +66,12 @@ export default { content.slot('thumb', 'medium'), - readMoreLink?.slots({ - content: language.$('homepage.news.entry.viewRest'), - }), + html.tag('p', + {[html.onlyIfContent]: true}, + readMoreLink + ?.slots({ + content: language.$('homepage.news.entry.viewRest'), + })), ])), ], }; |