diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 8c8649a..77693ce 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -6,7 +6,7 @@
{{ if .Site.Data.sections }}
{{- range sort .Site.Data.sections "section.weight" }}
- {{ if .section.enable }}
+ {{ if and (.section.enable) (.section.showOnNavbar)}}
-
{{ .section.name }}
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 00570c7..dc1b872 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -21,7 +21,7 @@
{{- if .Site.Data.sections }}
{{- range sort .Site.Data.sections "section.weight" }}
- {{ if (and .section.enable .section.showOnNavbar) }}
+ {{ if and (.section.enable) (.section.showOnNavbar)}}
-
{{ .section.name }}