1 2 3 4 5 6 7 8 9 10 11
{{ define "main" }} <h1>{{ .Title }}</h1> {{ .PublishDate.Format "2006-01-02" }} - {{ .Description }} {{ partial "toc.html" . }} {{ .Content }} {{ end }}