« 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/image.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 45379629..24c91d0f 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -157,7 +157,7 @@ export default {
       let wrapped = content;
 
       wrapped =
-        html.tag('div', {class: 'image-container'},
+        html.tag('div', {class: ['image-container', !originalSrc && 'placeholder-image']},
           html.tag('div', {class: 'image-inner-area'},
             wrapped));