{{ define "main" }} {{ $paginator := .Paginate (where .Site.RegularPages.ByPublishDate.Reverse "Type" "posts") }} {{ range $paginator.Pages}}