{{define "main"}} {{- partial "hero.html" . -}} Recent Posts {{range first 6 .Site.RegularPages }} {{if eq .Section "post"}} {{.Title}} {{ .PublishDate.Format "January 2, 2006" }} {{.Summary}} Read More... {{end}} {{end}} {{ if .Site.Params.search.enabled }} {{partial "search.html" .}} {{end}} {{end}}