{{ partial "header.html" . }} {{ range where .Paginator.Pages "Type" "posts" }} {{ .Title }} {{ .Content }} Posted: {{ .Date.Format "2006-01-02" }} | Comments {{ end }} {{ if .Paginator.HasPrev }} ← Newer posts {{ end }} {{ if .Paginator.HasNext }} Older posts → {{ end }} {{ partial "footer.html" . }}