Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyGiHu <74786828+MyGiHu@users.noreply.github.com>2020-11-24 13:38:30 +0300
committerGitHub <noreply@github.com>2020-11-24 13:38:30 +0300
commit696388d6bb228a7a3f6559e2e911469f8ac26a8f (patch)
treeabab48f0ff0c4165b4e85b7794756420f0c00583 /layouts
parent32d46f19f436c02c83d1c81439fcad2901f0f038 (diff)
fix-262 (#264)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/nav.html2
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 }}