« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateArtTagGalleryPage.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/content/dependencies/generateArtTagGalleryPage.js b/src/content/dependencies/generateArtTagGalleryPage.js
index 26a52656..fee7f463 100644
--- a/src/content/dependencies/generateArtTagGalleryPage.js
+++ b/src/content/dependencies/generateArtTagGalleryPage.js
@@ -156,11 +156,12 @@ export default {
                 language.$(capsule, 'callToAction'),
               ])),
 
-          relations.featuredLine.clone()
-            .slots({
-              showing: 'all',
-              count: data.numArtworksTotal,
-            }),
+          data.numArtworksTotal >= 1 &&
+            relations.featuredLine.clone()
+              .slots({
+                showing: 'all',
+                count: data.numArtworksTotal,
+              }),
 
           data.hasMixedDirectIndirect && [
             relations.featuredLine.clone()