« 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/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/transformContent.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index ad7530fe..ad603bbc 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -445,6 +445,7 @@ export default {
               height,
               align,
               pixelate,
+              banishThumbs,
             } = node;
 
             if (node.inline) {
@@ -496,7 +497,11 @@ export default {
 
               link: link ?? true,
               warnings: warnings ?? null,
-              thumb: slots.thumb,
+
+              thumb:
+                (banishThumbs
+                  ? null
+                  : slots.thumb),
             });
 
             if (width || height) {