1 2 3
{{ define "main" }} <h1>{{ .Title }}</h1> <div>Reading time: {{ .ReadingTime }} min</div> {{ .Content }}{{ end }}