diff options
Diffstat (limited to 'layouts')
-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 -}} |