{{ define "main" }} <h1 id="{{ .Title | urlize }}">{{ .Title | markdownify }}</h1> {{ .Content }} <ul> {{ range .Pages }} <li><a href="{{ .Permalink }}">{{ .Title }}</a> -- {{ .Date.Format "2 January 2006" }}</li> {{ end }} </ul> {{ end }} {{define "aside" }} {{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }} {{ end }}