{{- $position := .position -}} {{- $title := .title -}} {{- with .data -}}
{{ if (or $title .description) -}}
{{- if $title }}

{{ partial "PrepareHTML" $title }}

{{ end -}} {{- if .description }}
{{ partial "PrepareHTML" .description }}
{{ end -}}
{{- end }}
{{- range .partners }}
{{- if .slug }} {{ with (site.GetPage (printf "/organizations/%s" .slug )) }} {{- partial "organizations/organization.html" . -}} {{ end }} {{- else -}}
{{- $title := "" -}} {{ if .name }}
{{ $title = partial "PrepareHTML" .name -}}

{{- if .url }} {{ end }} {{- $title -}} {{ if .url }} {{ end -}}

{{ end -}}
{{- if .logo -}} {{- partial "commons/image.html" (dict "image" .logo "alt" $title "mobile" "164" "tablet" "216" "desktop" "196" ) -}} {{- end -}}
{{ end -}}
{{ end -}}
{{- end -}}