{{- $title := partial "title.gotmpl" (dict "page" .) }}
{{ $title }}
{{- .Content }}
{{- $lastCapital := "" }}
{{- $pages := partialCached "partials/_relearn/pagesTerm.gotmpl" . .Path }}
{{- range $pages }}
{{- $capital := substr .Title 0 1 | upper }}
{{- if ne $lastCapital $capital }}
{{- if ne $lastCapital "" }}
{{- end }}
{{ $capital }}
{{- end }}
{{- /* display pages of a term */}}
{{- $breadcrumb := "" }}
{{- if (ne .Page.Site.Params.disableTermBreadcrumbs true) }}
{{- $breadcrumb = trim (partial "breadcrumbs.html" (dict "page" .Page "dirOnly" true) | plainify | htmlUnescape) "\n\r\t " }}
{{- end }}
- {{ .Title }}{{ with $breadcrumb }}
{{ . }}
{{ end }}
{{- $lastCapital = $capital }}
{{- end }}
{{- if ne $lastCapital "" }}
{{- end }}