{{ define "styles" }} {{ end }} {{ define "middle" }} {{ partial "navigator-middle.html" (dict "Context" . "IconLabel" "Back" "Id" "back" "Icon" "arrow-left" "Title" (print "#" .Title) "Subtitle" (print (lang.FormatNumberCustom 0 (len .Data.Pages)) " " "Messages") "Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/") ) }} {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ end }} {{ partial "pagination.html" . }} {{ end }} {{ define "right" }} {{- partial "navigator-right.html" . -}} {{ end }}