Fix missing tag

This commit is contained in:
Hanzei 2018-07-01 13:10:45 +02:00
parent 0d6371f6eb
commit 0e05d725ed
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0

View file

@ -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>