diff --git a/layouts/partials/nav-list.html b/layouts/partials/nav-list.html index 0daaed8..1c6869a 100644 --- a/layouts/partials/nav-list.html +++ b/layouts/partials/nav-list.html @@ -12,12 +12,12 @@ About - {{ if .Site.Params.showProjects }} + {{ if and (.Site.Params.showProjects) (ne .Page.Section "projects") }} Projects {{ end }} - {{ if .Site.Params.showBlog }} + {{ if and (.Site.Params.showBlog) (ne .Page.Section "blog") }} Blog