Browse Source

Remove redundant relURL

nat64
Silke 5 years ago
parent
commit
005c11e99a
  1. 2
      layouts/partials/nav.html

2
layouts/partials/nav.html

@ -5,7 +5,7 @@
{{ $url := .URL }}
{{ range .Site.Menus.main }}
<li{{if or ($currentNode.IsMenuCurrent "main" .) (and (eq .Name "Home") (eq $url "/")) }} class="active"{{end}}>
<a href="{{ .URL | relURL }}" >{{ .Name }}</a>
<a href="{{ .URL }}" >{{ .Name }}</a>
</li>
{{ end }}
</ul>

Loading…
Cancel
Save