_layouts/default.html in jekyll-lenciel-theme-1.0.13 vs _layouts/default.html in jekyll-lenciel-theme-1.0.24
- old
+ new
@@ -1,14 +1,18 @@
{% 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' or site.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
+
+<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if post.sidebar==false or page.sidebar==false %}
+ class="no-sidebar" {% endif %} {% if page.sidebar=='collapse' or site.sidebar=='collapse' or page.sidenote==false %}
+ class="collapse-sidebar sidebar-footer" {% endif %}>
<header role="banner">{% include header.html %}</header>
<nav role="navigation">{% include navigation.html %}</nav>
<div id="main">
<div id="content">
{{ content | expand_urls: root_url }}
</div>
</div>
<footer role="contentinfo">{% include footer.html %}</footer>
{% include after_footer.html %}
</body>
-</html>
+
+</html>
\ No newline at end of file