diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2019-09-08 21:21:36 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2019-09-08 21:21:36 +0800 |
commit | 5a3e5599d2a2bb509014b31901be813387f3edba (patch) | |
tree | 464f13fc31c3a327ce4feb45bdcb205cd877395e /layouts/index.html | |
parent | fd1b8d7bc8dcb84d008486562732fbba6b12adad (diff) |
fix(index.html): .Site.RegularPages
This closes #188, closes #192
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 9d013f2..3970758 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{- define "content" -}} <section id="posts" class="posts"> {{/* (index .Site.Paginate) */}} - {{- $paginator := .Paginate (where (where .Data.Pages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }} + {{- $paginator := .Paginate (where (where .Site.RegularPages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }} {{- range $paginator.Pages -}} {{ .Render "summary" }} {{ end -}} @@ -21,4 +21,4 @@ </a> {{- end }} </nav> -{{- end -}}
\ No newline at end of file +{{- end -}} |