{{ define "main" }} {{ partial "hero-section.html" . }}
{{ 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 := slicestr $title 0 1 -}} {{- $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 -}} {{- $letterKey := "#" -}} {{- if gt (len (findRE "^[A-Z]$" $normalized)) 0 -}} {{- $letterKey = $normalized -}} {{- end -}} {{- $current := $scratch.Get "group" -}} {{- if ne $letterKey $current -}} {{- if ne $current "" -}} {{- end -}}

{{ $letterKey }}

{{- end -}} {{- else -}}

Aucun mot-clé disponible pour cette taxonomie.

{{- end -}}
{{ end }}