{{- 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 | relURL)) ("" | relURL)) ) -}} {{- end -}} {{- define "middle" -}}
{{ range (.Paginator.Pages.GroupByDate "2006") }} {{ range (first 1 .Pages) }}
{{ .Date | time.Format "2006" }}
{{ end }}
{{ range .Pages }} {{- $author := .Page.Section -}}
{{ .Date | time.Format "02 Jan" }}
{{ partial "meta-title.html" . }}
@{{ or .Params.feed.domain $author }}
{{ end }}
{{ end }}
{{- end -}} {{- define "footer" -}} {{- partial "pagination.html" . -}} {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} {{- partial "navigator-right.html" . -}} {{- end -}}