Merge pull request #6 from adamsullovey/fix-list-pages-not-filtering
fix list page filtering
This commit is contained in:
commit
2f154564a1
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
<main>
|
<main>
|
||||||
{{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
|
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
{{ partial "summary.html" . }}
|
{{ partial "summary.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue