{{- define "styles" -}}
{{- end -}}
{{- define "header" -}}
{{- partial "navigator-middle.html"
(dict
"Context" .
"Title" "Home"
"Subtitle" (print (partial "count.html" .) " " "Total")
"IconLabel" (and (gt .Paginator.PageNumber 1) "Back")
"Id" (and (gt .Paginator.PageNumber 1) "back")
"Icon" (and (gt .Paginator.PageNumber 1) "arrow-left")
"Href" (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | relURL))
)
-}}
{{- end -}}
{{- define "middle" -}}
{{- range .Paginator.Pages -}}
{{- partial "render-embed.html" . -}}
{{- end -}}
{{- end -}}
{{- define "footer" -}}
{{- partial "pagination.html" . -}}
{{- partial "footer.html" . -}}
{{- end -}}
{{- define "right" -}}
{{- partial "navigator-right.html" . -}}
{{- end -}}