{{- $isTocPresent := .context.Params.design.toc.present -}} {{ if site.Params.toc.disabled }} {{ $isTocPresent = false }} {{ end }} {{- if $isTocPresent -}} {{- partial "toc/cta" -}}
{{/* TODO : quelle balise pour le titre du toc ? */}}
{{ i18n "commons.toc" }}
{{- partial (printf .toc) . -}}
{{- end -}}