diff options
author | MyGiHu <74786828+MyGiHu@users.noreply.github.com> | 2020-11-24 13:38:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 13:38:30 +0300 |
commit | 696388d6bb228a7a3f6559e2e911469f8ac26a8f (patch) | |
tree | abab48f0ff0c4165b4e85b7794756420f0c00583 /layouts | |
parent | 32d46f19f436c02c83d1c81439fcad2901f0f038 (diff) |
fix-262 (#264)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} <a class="navbar-item" href="{{ printf "#%s" ( .Title | urlize) | relLangURL }}">{{ .Title | markdownify }}</a> {{ else }} - {{ $pageIsInProjects := eq $.Page.Section "project"}} + {{ $pageIsInProjects := eq $.Page.Section "projects"}} {{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }} <a class="navbar-item" href="{{ .Permalink }}"> {{ if $pageIsInProjects }} |