{{ $incidents := where .Site.RegularPages "Params.section" "issue" }} {{ range ($incidents.GroupByDate "1") }}
{{ if gt .Key 9 }} {{ $month := printf "2006-%s-02" .Key }} {{ $monthDate := $month | time }} {{ $monthDate.Format "January" }} {{ else }} {{ $month := printf "2006-0%s-02" .Key }} {{ $monthDate := $month | time }} {{ $monthDate.Format "January" }} {{ end }} {{ range first 1 .Pages }}{{ .Date.Format "2006" }}{{ end }} ({{ len .Pages }})