mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
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:
@@ -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 }}
|
||||||
|
Reference in New Issue
Block a user