{{ define "main" }} {{- /* Default list used for homepage and taxonomy pages (e.g. tags), but not for sections (see section.html template) */}}
{{- /* 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 }}
{{ .Render "summary" }}
{{ end }}
{{- partial "pagination.html" $paginator -}}
{{ end }}