{{- with .Paginator -}}
{{ if and .HasPrev .First }}
First
{{ else }}
{{- end -}}
{{ with .Prev }}
{{ safeHTML (readFile "static/icons/feather/arrow-left.svg") }}
Back
{{ else }}
{{- end -}}
{{
$hidden := (sub .TotalNumberOfElements
(sub (len $.Site.RegularPages) (len (where $.Site.Pages "Type" "page"))))
}}
{{ if .Next }}
Next
{{ safeHTML (readFile "static/icons/feather/arrow-right.svg") }}
{{ else }}
{{- end -}}
{{ if and .HasNext .Last }}
Last
{{ else }}
{{- end -}}
{{ end }}