From 96df66b849789ac07723a97c799076184371e37c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 23 May 2026 21:16:38 -0300 Subject: content: generateListAllAdditionalFilesChunk: got no files --- src/content/dependencies/generateListAllAdditionalFilesChunk.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/dependencies') diff --git a/src/content/dependencies/generateListAllAdditionalFilesChunk.js b/src/content/dependencies/generateListAllAdditionalFilesChunk.js index dff652f6..ddbaa69d 100644 --- a/src/content/dependencies/generateListAllAdditionalFilesChunk.js +++ b/src/content/dependencies/generateListAllAdditionalFilesChunk.js @@ -67,9 +67,9 @@ export default { : language.$(capsule, 'placeholderTitle')); workingOptions.title = - (links.length <= 1 - ? links[0].slot('content', titlePart) - : html.tag('b', titlePart)); + (links.length === 0 ? titlePart + : links.length === 1 ? links[0].slot('content', titlePart) + : html.tag('b', titlePart)); artistCredit.setSlots({ normalStringKey: capsule + '.credit', -- cgit 1.3.0-6-gf8a5