{{ $pag := .Paginate (where .Data.Pages "Type" "post") }} {{ if gt $pag.TotalPages 1 -}}