From 812a1a01784dd0022845cd8d995a84b70807a134 Mon Sep 17 00:00:00 2001 From: gbl08ma Date: Tue, 17 Jan 2017 23:28:11 +0000 Subject: [PATCH] Fix upstream issue #2 The header was including a number of meta-pages (tags, categories...). Fixed by getting the list of pages from a "regular" page collection that doesn't include these meta-pages. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 46aaef9..9725dcb 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,7 +24,7 @@ {{ end }} {{ end }} {{ end }} - {{ range where .Site.Pages "Section" ""}} + {{ range where .Site.RegularPages "Section" ""}} {{ if ne .Title "Home"}}
  • {{ .Title }}
  • {{ end }}