{{- $title := partial "title.gotmpl" (dict "page" .) }}
{{ $title }}
{{- .Content }}
{{- $lastCapital := "" }}
{{- $pages := partialCached "partials/_relearn/pagesTaxonomy.gotmpl" . .Path }}
{{- range $pages }}
{{- $capital := substr .Title 0 1 | upper }}
{{- if ne $lastCapital $capital }}
{{- if ne $lastCapital "" }}
{{- end }}
{{ $capital }}
{{- end }}
{{- /* display terms of a taxonomy */}}
- {{ .Title }} ({{ .Count }})
{{- $lastCapital = $capital }}
{{- end }}
{{- if ne $lastCapital "" }}
{{- end }}