{{ partial "header.html" . }} {{ if .Content }} {{ if .Title }} {{ .Title }} {{ end }} {{ .Content }} {{ end }} {{ $pages := .Pages }} {{ if .IsHome }} {{ $pages = .Site.RegularPages }} {{ end }} {{ range (where $pages "Section" "!=" "").GroupByDate "2006" }} {{ .Key }} {{ range .Pages }} {{ .Title }} {{ end }} {{ end }} {{ partial "footer.html" . }}