mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +00:00
Fix missing tag
This commit is contained in:
parent
0d6371f6eb
commit
0e05d725ed
1 changed files with 0 additions and 4 deletions
|
@ -3,14 +3,12 @@
|
|||
<hr>
|
||||
<nav class="nav nav-center">
|
||||
{{ $isHome := .Page.IsHome }}
|
||||
{{/* if not $isHome */}}
|
||||
<span id="nav-toggle" class="nav-toggle" onclick="document.getElementById('nav-menu').classList.toggle('is-active');">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
<div id="nav-menu" class="nav-left nav-menu">
|
||||
{{/* end */}}
|
||||
{{ if not $isHome }}
|
||||
<a class="nav-item" href="{{ "/" | relLangURL }}">{{ i18n "nav_main" . }}</a>
|
||||
{{ end }}
|
||||
|
@ -63,9 +61,7 @@
|
|||
{{ if and .Site.Params.showRSSButton .Site.RSSLink }}
|
||||
<a class="nav-item" href="{{ .Site.RSSLink }}"><i class="fa fa-rss"></i></a>
|
||||
{{ end }}
|
||||
{{ if not .Page.IsHome }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</nav>
|
||||
<hr>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue