{{ $selectedIntegrations := (index . "selectedIntegrations") }} {{ $organizations := (index . "organizations") }} {{ $integrations := (index . "integrations") }} {{ $feature := (index . "feature") }}
{{ range $id := $selectedIntegrations }} {{ $integration := index (where $integrations ".RelPermalink" $id) 0 }}
{{ partial "docs/integration-logo.html" (dict "id" $id) }}

{{ $integration.Title }}

{{ if $integration.Params.subtitle }} {{ $integration.Params.subtitle }} {{ end }} {{ if and ($integration.Params.subtitle) ($integration.Params.inventors) }} by  {{- end -}} {{- range $i, $id := $integration.Params.inventors -}} {{- $inventor := index (where $organizations ".RelPermalink" (printf "/organizations/%s/" $id)) 0 -}} {{ $inventor.Title }} {{- if eq (add $i 1) (sub (len $integration.Params.inventors) 1) }} and {{ else if lt (add $i 1) (len $integration.Params.inventors) -}} , {{- end }} {{ end }}

{{ (index (index $integration.Params.docs_features $feature) "note") | markdownify }}
{{ if lt (len $integration.Title) 30 }} View {{ $integration.Title }} Details {{ else }} View Details {{ end }}
{{ end }}