« get me outta code hell

content, replacer: <img banish-thumbs> - 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:
author(quasar) nebula <qznebula@protonmail.com>2026-06-16 21:34:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-06-16 21:34:56 -0300
commit0bf43d148c371d71b06e0c72df429a64bb366145 (patch)
tree1c8187b063ddda9ae0f675fbbefc8104bbd0d012 /src/content/dependencies
parent6e12da958149ceb695cf4cd2fc62dfe991d20045 (diff)
content, replacer: <img banish-thumbs>
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) {