diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 09:56:23 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 09:56:23 +0300 |
commit | 4905337d7c9697db39dea73c16b1dc0767653134 (patch) | |
tree | b9df420d639b570aa3d47d23a2892f3a86c7db05 /_includes/common/navbar.html | |
parent | index.html: remove navbar icons, it's cringe (diff) | |
download | jekyll-theme-4905337d7c9697db39dea73c16b1dc0767653134.tar.gz jekyll-theme-4905337d7c9697db39dea73c16b1dc0767653134.zip |
navbar: move the hide condition to the navbar include
Diffstat (limited to '')
-rw-r--r-- | _includes/common/navbar.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html index 8640633..67db12e 100644 --- a/_includes/common/navbar.html +++ b/_includes/common/navbar.html @@ -1,3 +1,4 @@ +{% unless site.settings.navbar.hide or page.navbar.hide %} <nav class="navbar navbar-default navbar-static-top"> <div class="container"> <div class="navbar-header"> @@ -62,3 +63,4 @@ </div> </div> </nav> +{% endunless %} |