{{ define "main" }}
{{ range .Pages.ByPublishDate.Reverse.GroupByDate "2006" }} {{ if (where .Pages "Section" "post") }}

{{ .Key }}

{{ range .Pages.ByPublishDate.Reverse.GroupByDate "January" }}

{{ .Key }}

{{ end }} {{ end }} {{ end }}
{{ end }}