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
|
@ -7,10 +7,10 @@
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/"><b>Home</b></a> .
|
<a href="/"><b>Home</b></a> .
|
||||||
{{ with .Site.Menus.main }}
|
{{ with .Site.Menus.main }}
|
||||||
{{ range . }}
|
{{ range $i, $e := . }}
|
||||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
<a href="{{ $e.URL | relURL }}"><b>{{ $e.Name }}</b></a>{{ if ne (len .Site.Menus.main) $i }} . {{ end }}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue