fix: Changed adding dots in the menu

This commit is contained in:
ptrcnull 2020-11-25 01:08:29 +01:00
parent d5addbfdbd
commit 3c57d0797d

View file

@ -5,12 +5,12 @@
<div style="float: right;">{{ .Site.Params.subtitle }}</div><br>
<p>
<nav>
<a href="/"><b>Home</b></a>.
<a href="/"><b>Home</b></a> .
{{ with .Site.Menus.main }}
{{ range . }}
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
{{ range $i, $e := . }}
<a href="{{ $e.URL | relURL }}"><b>{{ $e.Name }}</b></a>{{ if ne (len .Site.Menus.main) $i }} . {{ end }}
{{ end }}
{{ end }}
</nav>
</p>
{{ end }}
</header>