{{/* TODO : supprimer ce partial */}} {{ $context := . }} {{- if .Params.contents -}}
{{- range .Params.contents -}} {{ $template := printf "blocks/templates/%s.html" .template }} {{ partial $template (dict "block" . "context" $context )}} {{- end -}}
{{- end -}}