1 2 3 4 5 6 7 8 9 10
{{ define "main" }} <article class="post"> <header class="post-header"> <h1 class ="post-title">{{ .Title }}</h1> <div class="post-meta"> <div>Reading time: {{ .ReadingTime }} min</div> </div> </header> <div class="post-content">{{ .Content }}</div> </article>{{ end }}