diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateAdditionalFilesList.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAdditionalFilesList.js b/src/content/dependencies/generateAdditionalFilesList.js index f504cf80..68120b23 100644 --- a/src/content/dependencies/generateAdditionalFilesList.js +++ b/src/content/dependencies/generateAdditionalFilesList.js @@ -15,6 +15,8 @@ export default { generate: (slots, {html}) => html.tag('ul', {class: 'additional-files-list'}, + {[html.onlyIfContent]: true}, + stitchArrays({ chunk: slots.chunks, items: slots.chunkItems, |