{{- $with_image := false -}} {{- if .Scratch.Get "with_image" -}} {{- $with_image = true -}} {{- end -}} {{- $title := partial "PrepareHTML" .Title -}}

{{- $title -}}

{{ if (partial "GetTextFromHTML" .Params.presentation) }}

{{- partial "PrepareHTML" .Params.presentation -}}

{{ end }}
{{- if $with_image }} {{- if .Params.image }}
{{ partial "commons/image.html" (dict "image" .Params.image "mobile" "351x168" "tablet" "456x219" "desktop" "856x410" "itemprop" true )}}
{{ end -}} {{ end -}}