{{ define "main" }} {{ $pages := .Pages }} {{ $categories := slice }}
{{ .Content }}
{{ $remainingMonthsToOpen := 3 }} {{ range $pages.GroupByDate "2006" -}}
{{ partial "components/section-title" (dict "Left" .Key "Right" (T "archivePage.postCountAnnual" (len .Pages)) )}} {{ range .Pages.GroupByDate "January" }}

{{ .Key }}

{{ $remainingMonthsToOpen = sub $remainingMonthsToOpen 1 }} {{ end }}
{{ end }}
{{ end }}