{{- $title := partial "PrepareHTML" .Title }}

{{- $title -}}

{{- if partial "GetTextFromHTML" .Params.summary }}

{{- .Params.summary | safeHTML -}}

{{ else if (partial "GetTextFromHTML" .Content) }}

{{- partial "GetTruncateContent" ( dict "text" .Content ) -}}

{{ end -}}
{{- if .Params.image }} {{ partial "commons/image.html" (dict "alt" .Title "image" .Params.image "sizes" site.Params.image_sizes.sections.persons.item )}} {{ end -}}