diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 15:21:06 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 15:21:06 +0300 |
commit | 389b617912641e36eaa93f3a2c9b4b9dfa39da05 (patch) | |
tree | fd4fc8823c7de19d61f4490180ef143a7d0507a0 /_layouts/default.html | |
parent | bootstrap: color navbar light blue (diff) | |
download | jekyll-theme-389b617912641e36eaa93f3a2c9b4b9dfa39da05.tar.gz jekyll-theme-389b617912641e36eaa93f3a2c9b4b9dfa39da05.zip |
separate content from sidebar automatically
Diffstat (limited to '')
-rw-r--r-- | _layouts/default.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index f151314..caa95f1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,6 +2,10 @@ <div class="row"> <div class="col-md-8"> {{ content }} + {% unless site.settings.sidebar.hide or page.sidebar.hide %} + {% comment %}Separate the content from the sidebar on narrow screens.{% endcomment %} + <hr/> + {% endunless %} </div> <div class="col-md-4"> {% include common/sidebar.html %} |