commit | b01ccccdfde9c91c165ba4776de38118a72fa3a2 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Sep 30 15:32:43 2024 +0200 |
committer | Akron <nils@diewald-online.de> | Tue Oct 01 18:01:32 2024 +0200 |
tree | 50cef97752575149d9e6f50f28805d134b3d38e1 | |
parent | a9f6089d4637cbfd52c13f6bbf23936d5b3261b0 [diff] [blame] |
Disable sidebar via stash Change-Id: I90a89bba41ebf8cdc7dd5b14bf4762784fb834fa
diff --git a/templates/partial/side.html.ep b/templates/partial/side.html.ep index a8deb0e..c64e275 100644 --- a/templates/partial/side.html.ep +++ b/templates/partial/side.html.ep
@@ -9,7 +9,7 @@ % }; % } -% if (length($side_bar) == 0) { +% if (length($side_bar) == 0 || stash('sidebar_off')) { % $classes .= ' off'; % } elsif (stash('sidebar_active')) { % $classes .= ' active';