diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-20 21:43:17 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-10-20 21:43:35 -0300 |
commit | 140e48ca26c02a1cd8e349f761990594aa2a4cc9 (patch) | |
tree | edf7db0eb0311ae742daac3a60603a9564df2bc0 /src | |
parent | 754d37c457092f9aca96fe91b20a3ad8c295d274 (diff) |
content: gAIPCommentaryChunkedList: blank when empty
A bit belated, oops.
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js index 542faef7..0f238d13 100644 --- a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js @@ -197,6 +197,8 @@ export default { generate: (data, relations, {html, language}) => html.tag('dl', + {[html.onlyIfContent]: true}, + stitchArrays({ chunk: relations.chunks, chunkLink: relations.chunkLinks, |