« 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/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generatePageLayout.js6
-rw-r--r--src/content/dependencies/linkExternalAsIcon.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index d297a5f2..794b430b 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -509,7 +509,7 @@ export default {
 
             html.tag('link', {
               rel: 'stylesheet',
-              href: to('shared.staticFile', `site4.css?${cachebust}`),
+              href: to('shared.staticFile', 'site4.css', cachebust),
             }),
 
             html.tag('style', [
@@ -520,7 +520,7 @@ export default {
             ]),
 
             html.tag('script', {
-              src: to('shared.staticFile', `lazy-loading.js?${cachebust}`),
+              src: to('shared.staticFile', 'lazy-loading.js', cachebust),
             }),
           ]),
 
@@ -537,7 +537,7 @@ export default {
 
               html.tag('script', {
                 type: 'module',
-                src: to('shared.staticFile', `client.js?${cachebust}`),
+                src: to('shared.staticFile', 'client.js', cachebust),
               }),
             ]),
         ])
diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js
index 6496d026..cd168992 100644
--- a/src/content/dependencies/linkExternalAsIcon.js
+++ b/src/content/dependencies/linkExternalAsIcon.js
@@ -39,7 +39,7 @@ export default {
       html.tag('svg', [
         html.tag('title', msg),
         html.tag('use', {
-          href: to('shared.staticFile', `icons.svg#icon-${id}`),
+          href: to('shared.staticIcon', id),
         }),
       ]));
   },