diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-23 21:16:38 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-23 21:16:38 -0300 |
| commit | 96df66b849789ac07723a97c799076184371e37c (patch) | |
| tree | c36f4e2d0a458f4c7a127743758731736425fa4e /src/content | |
| parent | 29c7928e45ccf7ba936b27bc795867dc66d1d491 (diff) | |
content: generateListAllAdditionalFilesChunk: got no files
Diffstat (limited to 'src/content')
| -rw-r--r-- | src/content/dependencies/generateListAllAdditionalFilesChunk.js | 6 |
1 files changed, 3 insertions, 3 deletions
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', |