This commit is contained in:
MyGiHu 2020-11-24 11:38:30 +01:00 committed by GitHub
parent 32d46f19f4
commit 696388d6bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@
{{ if $isHome }} {{ if $isHome }}
<a class="navbar-item" href="{{ printf "#%s" ( .Title | urlize) | relLangURL }}">{{ .Title | markdownify }}</a> <a class="navbar-item" href="{{ printf "#%s" ( .Title | urlize) | relLangURL }}">{{ .Title | markdownify }}</a>
{{ else }} {{ else }}
{{ $pageIsInProjects := eq $.Page.Section "project"}} {{ $pageIsInProjects := eq $.Page.Section "projects"}}
{{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }} {{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }}
<a class="navbar-item" href="{{ .Permalink }}"> <a class="navbar-item" href="{{ .Permalink }}">
{{ if $pageIsInProjects }} {{ if $pageIsInProjects }}