{{ partial "content.html" . }} {{ range .Pages.GroupByDate "2006-01" }} {{ $month := print .Key "-01"}} {{ $display := dateFormat "2006-01" $month }}
{{ $display }}
{{ range (sort .Pages "Date" "desc") }} {{ partial "list_item.html" . }} {{ end }} {{ end }}