{{ define "main" }} <div class="blog-post"> <header> <h1>{{ .Title }}</h1> <h5> <strong>{{ .Date.Format "January 2, 2006" }}</strong> </h5> </header> <article class="markdown"> {{- .Content -}} </article> </div> {{ end }}