{{- define "styles" -}} {{- end -}} {{- define "header" -}} {{- $author := partial "function-authors-data.html" . -}} {{- partial "navigator-middle.html" (dict "Context" . "IconLabel" "Back" "Id" "back" "Title" $author.name "Icon" "arrow-left" "Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/") "Subtitle" (print (lang.FormatNumberCustom 0 .Paginator.TotalNumberOfElements) " " "Total") ) -}} {{- partial "author-section-picture.html" . -}} {{- partial "profile.html" . -}} {{- end -}} {{- define "middle" -}} {{- range .Paginator.Pages -}} {{- partial "render-embed.html" . -}} {{- else -}} {{- end -}} {{- end -}} {{- define "footer" -}} {{- partial "pagination.html" . -}} {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} {{- partial "navigator-right.html" . -}} {{- end -}}