{{- $block := .block -}} {{- $block_class := partial "GetBlockClass" .block -}} {{- $is_carousel := false -}} {{- with .block.data -}} {{ if .testimonials }} {{ if gt (len .testimonials) 1 }} {{- $is_carousel = true -}} {{ end }} {{ end }} {{- end -}}