Browse code

collapse sidebar is now possible site-wide

Brandon Mathis authored on 26/09/2011 at 14:11:14
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 {% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
2 2
 {% include head.html %}
3
-<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 %}>
3
+<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 %}>
4 4
   <header role="banner">{% include header.html %}</header>
5 5
   <nav role="navigation">{% include navigation.html %}</nav>
6 6
   <div id="main">