Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

collapse sidebar is now possible site-wide

  • Loading branch information...
commit 7a7825f6679ec91df7df3993f58238e021f82675 1 parent 40a7809
@imathis imathis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .themes/classic/source/_layouts/default.html
View
2  .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">
Please sign in to comment.
Something went wrong with that request. Please try again.