« get me outta code hell

for now site.css -> site2.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>2022-07-04 22:20:50 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-07-04 22:20:50 -0300
commit202d6e2a7bccd58823dbdbe6cf4150a4bdad9f74 (patch)
tree03786d7f0a5b842b67d410b6b5b42c4238ab0727
parentd89aedcc8c888d7e43ace0922ae93c289f7ab024 (diff)
for now site.css -> site2.css
-rw-r--r--.gitignore6
-rw-r--r--src/static/site2.css (renamed from src/static/site.css)0
-rwxr-xr-xsrc/upd8.js2
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 3c3629e..6745b9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
 node_modules
+
+# 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/site.css b/src/static/site2.css
index 328ef7d..328ef7d 100644
--- a/src/static/site.css
+++ b/src/static/site2.css
diff --git a/src/upd8.js b/src/upd8.js
index 83eecb4..e81eccc 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -1247,7 +1247,7 @@ writePage.html = (
                 ${socialEmbedHTML}
                 <link rel="stylesheet" href="${to(
                   'shared.staticFile',
-                  `site.css?${CACHEBUST}`
+                  `site2.css?${CACHEBUST}`
                 )}">
                 ${
                   (theme || stylesheet) &&