diff options
-rw-r--r-- | _includes/common/header.html | 4 | ||||
-rw-r--r-- | _includes/common/navbar.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/_includes/common/header.html b/_includes/common/header.html index b43a592..07ba1c5 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -76,7 +76,5 @@ </head> <body> <div style="display: flex; flex-direction: column; min-height: 100vh;"> - {% unless site.settings.navbar.hide or page.navbar.hide %} - {% include common/navbar.html %} - {% endunless %} + {% include common/navbar.html %} <div class="container" style="flex: 1;"> 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 %} |