{{ define "body" }}

Posts

{{ if ge .Payload.PrevPage 0 }}

< < Previous Page

{{ end }} {{ range .Payload.Posts }} {{ end }}
{{ .PublishedAt.Local.Format "2006-01-02 15:04:05 MST" }} {{ .Title }} Edit
{{ if ge .Payload.NextPage 0 }}

Next Page > >

{{ end }} {{ end }} {{ template "base.html" . }}