aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-26 09:11:14 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-26 09:11:40 -0500
commit7a7825f6679ec91df7df3993f58238e021f82675 (patch)
treec52eadd5e80066cc6ae9f5b4004f76f16b2b42d0 /.themes/classic
parent40a7809d654b91fd6cf5cba6a4102b1067bb33f8 (diff)
downloadmy_new_personal_website-7a7825f6679ec91df7df3993f58238e021f82675.tar.xz
my_new_personal_website-7a7825f6679ec91df7df3993f58238e021f82675.zip
collapse sidebar is now possible site-wide
Diffstat (limited to '.themes/classic')
-rw-r--r--.themes/classic/source/_layouts/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html
index 0b1fc3a9..f670e1c9 100644
--- a/.themes/classic/source/_layouts/default.html
+++ b/.themes/classic/source/_layouts/default.html
@@ -1,6 +1,6 @@
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
{% include head.html %}
-<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %} {% if page.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
+<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %} {% if page.sidebar == 'collapse' or site.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
<header role="banner">{% include header.html %}</header>
<nav role="navigation">{% include navigation.html %}</nav>
<div id="main">