fix: Changed adding dots in the menu
This commit is contained in:
parent
d5addbfdbd
commit
3c57d0797d
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue