Merge pull request #6 from adamsullovey/fix-list-pages-not-filtering

fix list page filtering
This commit is contained in:
Vimux 2017-09-23 17:09:41 +03:00 committed by GitHub
commit 2f154564a1

View file

@ -1,6 +1,6 @@
{{ partial "header.html" . }}
<main>
{{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
{{ partial "summary.html" . }}
{{ end }}