diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 761647d..46aaef9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -16,9 +16,12 @@ {{ .Site.Title }} + Blog {{ range .Site.Sections }} - {{ range first 1 .Pages }} + {{ range first 1 (where .Pages "Section" "ne" "")}} + {{ if ne .Section "blog"}} {{ .Section }} + {{ end }} {{ end }} {{ end }} {{ range where .Site.Pages "Section" ""}}