diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 09:59:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 09:59:51 +0300 |
commit | 4afb428ca069605c0527f5a0e39fcae8e19cec69 (patch) | |
tree | b6a6c550b4657a228240ca76330348324cda22bc /_includes | |
parent | sidebar: don't print anything if there're no posts (diff) | |
download | jekyll-theme-4afb428ca069605c0527f5a0e39fcae8e19cec69.tar.gz jekyll-theme-4afb428ca069605c0527f5a0e39fcae8e19cec69.zip |
sidebar: add ability to hide it
Diffstat (limited to '')
-rw-r--r-- | _includes/common/sidebar.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 113d171..43b25dd 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -1,3 +1,4 @@ +{% unless site.settings.sidebar.hide or page.sidebar.hide %} <div class="row"> <div class="col-xs-12 col-sm-6 col-md-12"> <h4>About</h4> @@ -37,3 +38,4 @@ </div> {% endif %} </div> +{% endunless %} |