« get me outta code hell

rename site2.css -> site3.css - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-30 20:35:52 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-30 20:35:52 -0400
commite8b0f56ca5846f3dc52b64794e95c73182219e94 (patch)
tree417f96a6441bad57fa6785150b2b51a40190038e
parente8a6156d2821bfeac9873721918e41485f0f10e4 (diff)
rename site2.css -> site3.css
Breaking changes necessitate another new filename,
in the abscence of proper delineation between
preview and release static files
-rw-r--r--.gitignore6
-rw-r--r--src/static/site3.css (renamed from src/static/site2.css)0
-rw-r--r--src/write/page-template.js2
3 files changed, 1 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 447e8916..fd4f2b06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,2 @@
 node_modules
 .DS_Store
-
-# FOR NOW: We are using site2.css instead of site.css,
-# thanks to breaking changes - we can't have the release
-# site reuse the same CSS as the staging/preview one
-# anymore!
-src/static/site.css
diff --git a/src/static/site2.css b/src/static/site3.css
index cc853b65..cc853b65 100644
--- a/src/static/site2.css
+++ b/src/static/site3.css
diff --git a/src/write/page-template.js b/src/write/page-template.js
index e4bd9774..617c009f 100644
--- a/src/write/page-template.js
+++ b/src/write/page-template.js
@@ -525,7 +525,7 @@ export function generateDocumentHTML(pageInfo, {
 
         html.tag('link', {
           rel: 'stylesheet',
-          href: to('shared.staticFile', `site2.css?${cachebust}`),
+          href: to('shared.staticFile', `site3.css?${cachebust}`),
         }),
 
         html.tag('style',