{{ define "main" }} <main class="main"> <article class="h-entry"> <header> <h1 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1> <p> Published by <a class="p-author" href="/about">{{ $.Param "author" }}</a> on <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time> </p> <div class="e-content"> {{ .Content }} </div> </article> </main> {{ end }}