{{ if ne .context.Content "" }} {{ partial "snippets/content" (dict "content" .context.Content) }} {{ end }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.searchSections }} {{ range $pages.GroupByDate "2006" }}

{{ .Key }}

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

{{ .Key }}:

{{ range .Pages }}
{{ .Date.Format "02.01.2006" }} {{ .Title }}
{{ end }} {{ end }} {{ end }}