{{ partial "header.html" . }} {{ if and .IsHome .Content }} {{ .Content }} {{ else }} {{ range (where .Data.Pages "Section" "!=" "").GroupByDate "2006" }} {{ .Key }} {{ range .Pages }} {{ .Title }} {{ .Date.Format "2006/01/02" }} {{ end }} {{ end }} {{ end }} {{ partial "footer.html" . }}