From 8d29e235efd3b9b9b0c9fc82082d6426602850d0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 12 Jun 2024 14:03:46 -0300 Subject: content: generateTrackInfoPageOtherReleasesList: blank if empty --- src/content/dependencies/generateTrackInfoPageOtherReleasesList.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/content/dependencies/generateTrackInfoPageOtherReleasesList.js') diff --git a/src/content/dependencies/generateTrackInfoPageOtherReleasesList.js b/src/content/dependencies/generateTrackInfoPageOtherReleasesList.js index 5c499760..004bba6d 100644 --- a/src/content/dependencies/generateTrackInfoPageOtherReleasesList.js +++ b/src/content/dependencies/generateTrackInfoPageOtherReleasesList.js @@ -44,6 +44,8 @@ export default { generate: (relations, {html, language}) => html.tag('ul', + {[html.onlyIfContent]: true}, + stitchArrays({ trackLink: relations.trackLinks, albumLink: relations.albumLinks, -- cgit 1.3.0-6-gf8a5