diff --git a/layouts/partials/header.html b/layouts/partials/header.html index bf31bebd..d102a86a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,11 +7,8 @@ {{- end }} - {{- if .IsHome }} - {{ .Site.Title }} - {{- else }} {{ .Site.Title }} - {{- end }} + {{- $currentPage := . }} {{- range .Site.Menus.main }}
{{ .Site.Title }}