« get me outta code hell

content: gAIPCommentaryChunkedList: blank when empty - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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
commit140e48ca26c02a1cd8e349f761990594aa2a4cc9 (patch)
treeedf7db0eb0311ae742daac3a60603a9564df2bc0 /src
parent754d37c457092f9aca96fe91b20a3ad8c295d274 (diff)
content: gAIPCommentaryChunkedList: blank when empty
A bit belated, oops.
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js2
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,