Merge branch 'fix_nav' of https://github.com/Hanzei/hugo-theme-introduction into Hanzei-fix_nav

This commit is contained in:
Vicky 2018-06-10 13:04:14 -04:00
commit 1c45077112

View file

@ -12,12 +12,12 @@
<span class="nav-item">
<a href="{{ "/about" | relURL }}">About</a>
</span>
{{ if .Site.Params.showProjects }}
{{ if and (.Site.Params.showProjects) (ne .Page.Section "projects") }}
<span class="nav-item">
<a href="{{ "/projects" | relURL }}">Projects</a>
</span>
{{ end }}
{{ if .Site.Params.showBlog }}
{{ if and (.Site.Params.showBlog) (ne .Page.Section "blog") }}
<span class="nav-item">
<a href="{{ "/blog" | relURL }}">Blog</a>
</span>