{{ define "main"}} {{ partial "header.html" . }} {{ partial "search.html" . }} {{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }} {{ range .Pages }} {{ .Title }} {{ .Scratch.Set "noDateUpdate" true }} {{ partial "date.html" . }} {{ .Content }} {{ end }} {{ end }} {{ end }}