From 696388d6bb228a7a3f6559e2e911469f8ac26a8f Mon Sep 17 00:00:00 2001 From: MyGiHu <74786828+MyGiHu@users.noreply.github.com> Date: Tue, 24 Nov 2020 11:38:30 +0100 Subject: fix-262 (#264) --- layouts/partials/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 75b36ff..bdfd931 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -58,7 +58,7 @@ {{ if $isHome }} {{ .Title | markdownify }} {{ else }} - {{ $pageIsInProjects := eq $.Page.Section "project"}} + {{ $pageIsInProjects := eq $.Page.Section "projects"}} {{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }} {{ if $pageIsInProjects }} -- cgit v1.2.3