{{- 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 | absURL)) ) -}} {{- end -}} {{- define "middle" -}} {{- range .Paginator.Pages -}} {{- partial "render-embed.html" . -}} {{- end -}} {{- end -}} {{- define "footer" -}} {{- partial "pagination.html" . -}} {{- partial "base-footer.html" . -}} {{- end -}} {{- define "right" -}} {{- $author := "Section" -}} {{- partial "author-list.html" . -}} {{- range first 1 (where .Site.Pages $author .Site.Author.default.gallery) -}} {{- partial "gallery.html" . -}} {{- end -}} {{- range first 1 (where .Site.Pages $author .Site.Author.default.webring) -}} {{- partial "following-list.html" . -}} {{- partial "webring.html" . -}} {{- end -}} {{- end -}}