« 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/generatePageLayout.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/generatePageLayout.js
parent5c973b488c58a836082d8ae5e48ff42e830d7661 (diff)
content, url-spec: use static rather than shared, drop cachebust
Diffstat (limited to 'src/content/dependencies/generatePageLayout.js')
-rw-r--r--src/content/dependencies/generatePageLayout.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index 9fe868ba..3bb8b00a 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -10,7 +10,6 @@ export default {
   ],
 
   extraDependencies: [
-    'cachebust',
     'getColors',
     'html',
     'language',
@@ -209,7 +208,6 @@ export default {
   },
 
   generate(data, relations, slots, {
-    cachebust,
     getColors,
     html,
     language,
@@ -598,7 +596,7 @@ export default {
 
             html.tag('link', {
               rel: 'stylesheet',
-              href: to('shared.staticFile', 'site.css', cachebust),
+              href: to('static.path', 'site.css'),
             }),
 
             html.tag('style', [
@@ -608,7 +606,7 @@ export default {
             ]),
 
             html.tag('script', {
-              src: to('shared.staticFile', 'lazy-loading.js', cachebust),
+              src: to('static.path', 'lazy-loading.js'),
             }),
           ]),
 
@@ -638,7 +636,7 @@ export default {
 
               html.tag('script', {
                 type: 'module',
-                src: to('shared.staticFile', 'client.js', cachebust),
+                src: to('static.path', 'client.js'),
               }),
             ]),
         ])