mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-08 22:49:44 +00:00
fix-262 (#264)
This commit is contained in:
parent
32d46f19f4
commit
696388d6bb
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue