{{- $title := partial "pageHelper/title.hugo" (dict "page" .) }}
{{ $title }}
{{- .Content }}
{{- $lastCapital := "" }}
{{- $pages := partialCached "partials/pageHelper/taxonomyPages.html" . . }}
{{- 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 }}