mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +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 }}
|
{{ 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 }}
|
||||||
|
|
Loading…
Reference in a new issue