« 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.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 6d58bd23..7ef50e5b 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -3,6 +3,7 @@ import {empty} from '#sugar';
 
 export default {
   extraDependencies: [
+    'cachebust',
     'checkIfImagePathHasCachedThumbnails',
     'getDimensionsOfImagePath',
     'getSizeOfImagePath',
@@ -71,6 +72,7 @@ export default {
   },
 
   generate(data, relations, slots, {
+    cachebust,
     checkIfImagePathHasCachedThumbnails,
     getDimensionsOfImagePath,
     getSizeOfImagePath,
@@ -186,8 +188,8 @@ export default {
     let reveal = null;
     if (willReveal) {
       reveal = [
-        html.tag('span', {class: 'reveal-heading'},
-          language.$('misc.contentWarnings.heading')),
+        html.tag('img', {class: 'reveal-symbol'},
+          {src: to('shared.staticFile', 'warning.svg', cachebust)}),
 
         html.tag('br'),