{{ $integrations := (index . "integrations") }}
{{ $feature := (index . "feature") }}

{{ $scratch := newScratch }}
{{ $scratch.Set "integrations" (dict) }}
{{ range $integration := $integrations }}
  {{ if (index $integration.Params.docs_features $feature) }}
    {{ $scratch.SetInMap "integrations" $integration.RelPermalink $integration  }}
  {{ end }}
{{ end }}

{{ return ($scratch.Get "integrations") }}
