{{- $isTocNeeded := partial "IsTocNeeded" . -}} {{- if $isTocNeeded -}} {{- partial "toc/cta" -}}
{{/* TODO : quelle balise pour le titre du toc ? */}}
{{ i18n "commons.toc" }}
{{- partial (printf .toc) . -}}
{{- end -}}