{{ with $hero.logo }}
{{- partial "components/image.html" (dict "type" .type "style" .style "url" .url "alt" .alt "width" .width "height" .height) -}}
{{ end }}
{{ partial "components/title.html" $hero.title }}
{{ with $hero.button }} {{- range .}} {{ partial "components/button.html" . }} {{- end }} {{ end }}
{{ $content }}
{{ with $hero.button }} {{- range .}} {{ partial "components/button.html" . }} {{- end }} {{ end }}
{{- partial "components/image.html" $hero.image -}}