From ef661d427ef75775051712162000b33cacfbb5bf Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Wed, 19 Apr 2017 16:32:28 -0400 Subject: [PATCH] Update to remove "Pages" --- layouts/partials/footer.html | 4 +++- layouts/partials/header.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6a35401..6aed033 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,7 +4,9 @@ Archive {{ end }} {{ range where .Site.Pages "Section" "pages" }} - {{ .Title }} + {{ if .IsPage }} + {{ .Title }} + {{ end }} {{ end }} Top diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 06aca4d..a082b59 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -57,6 +57,8 @@ Archive {{ end }} {{ range (where .Site.Pages "Section" "pages") }} - {{ .Title }} + {{ if .IsPage }} + {{ .Title }} + {{ end }} {{ end }}