diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4429c6e..6a35401 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@ {{ range first 1 (where .Site.Pages "Type" "post") }} Archive {{ end }} - {{ range where .Site.Pages "Type" "!=" "post" }} + {{ range where .Site.Pages "Section" "pages" }} {{ .Title }} {{ end }} Top diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 702919b..fea34a7 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -56,7 +56,7 @@ {{ range first 1 (where .Site.Pages "Type" "post") }} Archive {{ end }} - {{ range where .Site.Pages "Type" "!=" "post" }} + {{ range (where .Site.Pages "Section" "pages") }} {{ .Title }} {{ end }}