diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a7af703..8675636 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,12 +5,12 @@
- Home. + Home . {{ with .Site.Menus.main }} - {{ range . }} - {{ .Name }}. + {{ range $i, $e := . }} + {{ $e.Name }}{{ if ne (len .Site.Menus.main) $i }} . {{ end }} + {{ end }} {{ end }}