mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
now layouts or pages can specify "sidebar: collapse" in the yaml front matter for an always collapsed sidebar
This commit is contained in:
@ -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 %}>
|
||||
<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 %}>
|
||||
<header role="banner">{% include header.html %}</header>
|
||||
<nav role="navigation">{% include navigation.html %}</nav>
|
||||
<div id="main">
|
||||
|
||||
Reference in New Issue
Block a user