diff options
| 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 |
| commit | 0bf43d148c371d71b06e0c72df429a64bb366145 (patch) | |
| tree | 1c8187b063ddda9ae0f675fbbefc8104bbd0d012 /src/content/dependencies | |
| parent | 6e12da958149ceb695cf4cd2fc62dfe991d20045 (diff) | |
content, replacer: <img banish-thumbs>
Diffstat (limited to 'src/content/dependencies')
| -rw-r--r-- | src/content/dependencies/transformContent.js | 7 |
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) { |