« get me outta code hell

content, css: reveal-heading -> reveal-symbol, use warning icon - 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>2024-01-11 08:53:40 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-11 18:07:59 -0400
commitcb379596c5cbaeb98480cc727ea6639d938e28d9 (patch)
tree3337e733e4a79e42c8d3b12f6caae8617ed685a5 /src/content/dependencies
parentd27ceb4165cd41ae5caec663514d00e74d50302e (diff)
content, css: reveal-heading -> reveal-symbol, use warning icon
Diffstat (limited to 'src/content/dependencies')
-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'),