diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c872d9d..636e50d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,7 +20,6 @@
{{ $currentPage := . }} {{ $active := "" }} - {{ range .Site.Menus.main }} {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} {{ $active = "active" }} @@ -34,7 +33,7 @@ transition:150ms;ease-in {{ $active }} " href="{{ .URL }}" title="{{ .Title }}"> - {{ .Name }} + {{- .Name -}} {{ end }}