mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +00:00
Merge branch 'fix_nav' of https://github.com/Hanzei/hugo-theme-introduction into Hanzei-fix_nav
This commit is contained in:
commit
1c45077112
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue