{{ define "main" }} <main> <h1>{{ .Title }}</h1> <p class="date">{{ .Date.Format "2006-01-02 15:04" }}</p> {{ .Content }} </main> {{ end }}