« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generateArtTagInfoPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtTagInfoPage.js b/src/content/dependencies/generateArtTagInfoPage.js
index 7dbb22cf..48852344 100644
--- a/src/content/dependencies/generateArtTagInfoPage.js
+++ b/src/content/dependencies/generateArtTagInfoPage.js
@@ -238,7 +238,7 @@ export default {
 
                           workingOptions.tag = infoLink;
 
-                          if (!html.isBlank(galleryLink)) {
+                          if (!html.isBlank(galleryLink ?? html.blank())) {
                             workingCapsule += '.withGallery';
                             workingOptions.gallery =
                               galleryLink.slot('content',