From 26a147bff746dea09ec68df184fe0ea0e2920608 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 1 Oct 2023 17:59:54 -0300 Subject: content: image: fix CW-decorating images which are missing --- src/content/dependencies/image.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 64fe8533..6c0aeecd 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -102,6 +102,7 @@ export default { const willReveal = slots.reveal && originalSrc && + !isMissingImageFile && !empty(data.contentWarnings); const willSquare = slots.square; -- cgit 1.3.0-6-gf8a5