diff options
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 |
commit | 7b0f1ceb07a1219f20f6819ed57e5f47a51d15b1 (patch) | |
tree | 0994a42788a70e4d1e0ebf3105b36078e5778682 /src/upd8.js | |
parent | 10efd45ee1ef1ece71c6497cbaf21ab39eb2819a (diff) |
homepage & gallery tweaks
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js index c86d63cd..9bf4a5b8 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', ], }, [ |