{{ with .Content }} {{ . }} {{ end }} {{- $pages := .Pages -}} {{- if gt (len $pages) 0 -}} {{- $sorted := $pages.ByTitle -}} {{- $scratch := newScratch -}} {{- $scratch.Set "group" "" -}} {{- range $sorted -}} {{- $title := strings.TrimSpace (default .Title .LinkTitle) -}} {{- if $title -}} {{- $firstChar := "" -}} {{- if ne $title "" -}} {{- $firstChar = slicestr $title 0 1 -}} {{- end -}} {{- $letterKey := "#" -}} {{- if ne $firstChar "" -}} {{- $upper := strings.ToUpper $firstChar -}} {{- $normalized := $upper -}} {{- $normalized = replaceRE "[ÀÁÂÃÄÅĀĂĄÆ]" "A" $normalized -}} {{- $normalized = replaceRE "[ÇĆĈĊČ]" "C" $normalized -}} {{- $normalized = replaceRE "[ÈÉÊËĒĔĖĘĚ]" "E" $normalized -}} {{- $normalized = replaceRE "[ÌÍÎÏĨĪĬĮİ]" "I" $normalized -}} {{- $normalized = replaceRE "[ÑŃŅŇ]" "N" $normalized -}} {{- $normalized = replaceRE "[ÒÓÔÕÖŌŎŐØŒ]" "O" $normalized -}} {{- $normalized = replaceRE "[ÙÚÛÜŨŪŬŮŰŲ]" "U" $normalized -}} {{- $normalized = replaceRE "[ÝŸŶ]" "Y" $normalized -}} {{- if gt (len (findRE "^[A-Z]$" $normalized)) 0 -}} {{- $letterKey = $normalized -}} {{- else -}} {{- $letterKey = "#" -}} {{- end -}} {{- end -}} {{- $current := $scratch.Get "group" -}} {{- if ne $letterKey $current -}} {{- if ne $current "" -}} {{- end -}}

{{ $letterKey }}

    {{- $scratch.Set "group" $letterKey -}} {{- end -}}
  • {{ $title }} {{- with .Pages -}} {{ len . }} {{- else -}} 0 {{- end -}}
  • {{- end -}} {{- end -}} {{- if ne ($scratch.Get "group") "" -}}
{{- end -}} {{- else -}}

Aucun mot-clé disponible pour cette taxonomie.

{{- end }}