{{ define "title" -}} {{ .Params.name }} | {{ .Site.Title }} {{- end }} {{ define "header" }} {{ partial "menu" . }} {{ end }} {{ define "main" }} {{ .Title }} {{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006" }}