« get me outta code hell

homepage & gallery tweaks - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-12-28 17:02:22 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-12-28 17:02:22 -0400
commit7b0f1ceb07a1219f20f6819ed57e5f47a51d15b1 (patch)
tree0994a42788a70e4d1e0ebf3105b36078e5778682 /src/upd8.js
parent10efd45ee1ef1ece71c6497cbaf21ab39eb2819a (diff)
homepage & gallery tweaks
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index c86d63c..9bf4a5b 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -147,7 +147,7 @@ import FileSizePreloader from './file-size-preloader.js';
 
 const __dirname = path.dirname(fileURLToPath(import.meta.url));
 
-const CACHEBUST = 14;
+const CACHEBUST = 15;
 
 let COMMIT;
 try {
@@ -1166,6 +1166,11 @@ export function generateDocumentHTML(pageInfo, {
         class: [
           'layout-columns',
           !collapseSidebars && 'vertical-when-thin',
+          (sidebarLeftHTML || sidebarRightHTML) && 'has-one-sidebar',
+          (sidebarLeftHTML && sidebarRightHTML) && 'has-two-sidebars',
+          !(sidebarLeftHTML || sidebarRightHTML) && 'has-zero-sidebars',
+          sidebarLeftHTML && 'has-sidebar-left',
+          sidebarRightHTML && 'has-sidebar-right',
         ],
       },
       [