{{ partial "toc/container.html" (dict "toc" "programs/toc.html" "context" . ) }} {{- if .Params.image -}} {{- $id := .Params.image -}} {{- if isset .Params.image "id" -}} {{- $id = .Params.image.id -}} {{- end -}} {{- $image := partial "GetMedia" $id -}} {{- if $image -}} {{- $url := $image.url -}} {{- if site.Params.keycdn -}} {{- $url = $image.direct_url -}} {{- end -}} {{- end -}} {{- end -}} {{ partial "programs/chapo.html" (dict "with_container" true "context" . ) }} {{- partial "programs/presentation.html" . -}} {{- partial "programs/children.html" .Pages -}} {{- partial "programs/pedagogy.html" . -}} {{- partial "programs/results.html" . -}} {{- partial "programs/admission.html" . -}} {{/* TODO: fixer les posts liƩs */}} {{/* {{- $category := site.GetPage (printf "/categories%s" .Params.category) -}} */}} {{/* {{- partial "posts/related.html" $category -}} */}} {{- partial "hooks/before-program-end.html" . -}}