{{ partial "header.html" . }} Recent Articles {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }} {{ range $paginator.Pages }} {{ if eq .Kind "page" }} {{ .Title }} {{ if .Draft }}:: DRAFT{{end}} {{ .Date.Format "Jan 2, 2006" }} {{ range .Params.categories }} #{{ . }} {{ end }} {{ range .Params.tags }} #{{ . }} {{ end }}: {{ .Description }} {{ end }} {{ end }} {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }} {{ if .Paginator.HasPrev }} Prev {{ end }} Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }} {{ if .Paginator.HasNext }} Next {{ end }} {{ partial "footer.html" . }}