{{- define "main" -}} <h1>{{ .Title }}</h1> {{ .Content }} {{ $pages := .Pages }} <dl class="dl-services"> {{ range $pages.ByTitle }} <dt><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2></dt> <dd> {{ $summary := index (split .Content "</p>") 0 }} {{ $summary | plainify }} </dd> {{ end }} </dl> {{ partial "badges.html" . }} {{ partial "status.html" . }} {{- end -}}