{{ define "main" -}}
{{/* derived from the page's own URL so that it is stable and unique for single files, page bundles and pages built by a content adapter alike */ -}} {{ $headingID := path.Base .RelPermalink | strings.TrimSuffix ".html" -}}

{{ .Title }}

{{- if (.Page.Params.pageinfo | default true) }}

{{ partial "pageinfo.html" . }}

{{- end -}} {{ with partial "audio.html" . }} {{- end }}
{{ chomp (.Content) }}
{{- end }}