{{- /* Custom paginator with only blog posts (e.g. avoid "À propos") which
are already written (avoid "incoming" posts of thematic series),
ordered from newest to oldest */}}
{{ $paginator := .Paginate
(where
(where site.RegularPages ".Type" "in" site.Params.mainSections)
".Params.incoming" "!=" true)
}}
{{ range $paginator.Pages }}
{{- partial "pagination.html" $paginator -}}
{{ .Render "summary" }}
{{ end }}