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.
This commit is contained in:
gbl08ma
2017-01-17 23:28:11 +00:00
parent 705af05ca9
commit 812a1a0178

View File

@@ -24,7 +24,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ range where .Site.Pages "Section" ""}} {{ range where .Site.RegularPages "Section" ""}}
{{ if ne .Title "Home"}} {{ if ne .Title "Home"}}
<a href="{{ .Permalink }}"><li>{{ .Title }}</li></a> <a href="{{ .Permalink }}"><li>{{ .Title }}</li></a>
{{ end }} {{ end }}