From 140e48ca26c02a1cd8e349f761990594aa2a4cc9 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 20 Oct 2024 21:43:17 -0300 Subject: content: gAIPCommentaryChunkedList: blank when empty A bit belated, oops. --- src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/content/dependencies') 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, -- cgit 1.3.0-6-gf8a5