« get me outta code hell

content, url-spec: use static rather than shared, drop cachebust - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/image.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-21 08:01:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-21 08:01:41 -0300
commitdc318c6db0b92510e8297739f4f6999f24859215 (patch)
tree4982ed4db6512872ac4b59365f1f52301b742f09 /src/content/dependencies/image.js
parent5c973b488c58a836082d8ae5e48ff42e830d7661 (diff)
content, url-spec: use static rather than shared, drop cachebust
Diffstat (limited to 'src/content/dependencies/image.js')
-rw-r--r--src/content/dependencies/image.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 822efe3f..617065fc 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -3,7 +3,6 @@ import {empty} from '#sugar';
 
 export default {
   extraDependencies: [
-    'cachebust',
     'checkIfImagePathHasCachedThumbnails',
     'getDimensionsOfImagePath',
     'getSizeOfImagePath',
@@ -82,7 +81,6 @@ export default {
   },
 
   generate(data, relations, slots, {
-    cachebust,
     checkIfImagePathHasCachedThumbnails,
     getDimensionsOfImagePath,
     getSizeOfImagePath,
@@ -172,7 +170,7 @@ export default {
     if (willReveal) {
       reveal = [
         html.tag('img', {class: 'reveal-symbol'},
-          {src: to('shared.staticFile', 'warning.svg', cachebust)}),
+          {src: to('static.path', 'warning.svg')}),
 
         html.tag('br'),