{{ $paginator := .Paginate (where site.RegularPages.ByDate.Reverse "Type" "news") 5 }} {{ partial "list.html" (dict "context" . "paginator" $paginator) }}