{{- define "title" -}}Archives — {{ end -}} {{- define "description" -}}An archive of all items — {{ end -}} {{- define "styles" -}} {{- end -}} {{- define "header" -}} {{- partial "navigator-middle.html" (dict "Context" . "IconLabel" "Back" "Id" "back" "Title" "Archives" "Icon" "arrow-left" "Subtitle" (print (partial "count.html" .) " " "Total") "Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/") ) -}} {{- end -}} {{- define "middle" -}} {{ range (.Paginator.Pages.GroupByDate "2006") }} {{ range (first 1 .Pages) }}

{{ .Date | time.Format "2006" }}

{{ end }} {{ end }}
{{- end -}} {{- define "footer" -}} {{- partial "pagination.html" . -}} {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} {{- partial "navigator-right.html" . -}} {{- end -}}