{{ define "main" }} {{ partial "home/hero.html" . }}
{{- if not $.Site.Params.home.toc.disabled -}} {{ partial "toc/container.html" (dict "toc" "toc/default.html" "context" . ) }} {{- end -}} {{ partial "home/chapo.html" (dict "block_wrapped" true "context" . ) }} {{- if .Params.blocks }} {{- partial "blocks/list.html" . -}} {{ else }}
{{- partial "blocks/templates/pages/grid.html" (dict "pages" .Params.children "show_images" true "show_descriptions" true ) }}
{{ end }}
{{ end }} {{/* TODO: refacto avec pages/list.html */}}