{{- $title := partial "title.gotmpl" (dict "page" .) }}

{{ $title }}

{{- .Content }} {{- $lastCapital := "" }} {{- $pages := partialCached "partials/_relearn/pagesTaxonomy.gotmpl" . . }} {{- range $pages }} {{- $capital := substr .Title 0 1 | upper }} {{- if ne $lastCapital $capital }} {{- if ne $lastCapital "" }} {{- end }}

{{ $capital }}

{{- end }}