diff options
-rw-r--r-- | upd8.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js index 1010a268..7bb60348 100644 --- a/upd8.js +++ b/upd8.js @@ -933,8 +933,8 @@ async function writePage(directoryParts, { const sidebarHTML = sidebar.content && fixWS` <div id="sidebar" ${classes( - sidebar.wide && 'wide', - !sidebar.collapse && 'no-hide', + wide && 'wide', + !collapse && 'no-hide', ...sidebar.classes || [] )}> ${sidebar.content} |