{{ with .params }} {{ $is_long := gt (len .text) 150 }}

{{- partial "PrepareHTML" .text -}}

{{ if or .photo .author .job -}}
{{ if .photo -}}
{{- partial "commons/image.html" (dict "image" .photo "sizes" site.Params.image_sizes.blocks.testimonials ) -}}
{{- end }} {{ if or .author .job -}}

{{- if .author -}} {{ partial "PrepareHTML" .author }} {{- end }} {{- if .job -}} {{- partial "PrepareHTML" .job -}} {{- end }}

{{- end }}
{{ end }} {{ end }}