{{ $_hugo_config := `{ "version": 1 }` }}
{{ $col_id := .Get "color" | default .Ordinal }}
{{ $height := .Get "height" | default "auto"  }}
{{/* Height can be one of: auto, min, med, max, full. */}}
<a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a>
<section class="row td-box td-box--{{ $col_id }} position-relative td-box--gradient td-box--height-{{ $height }}">
	<div class="container td-arrow-down">
            <div class="col pb-5">
                <p class="h2 companies text-center">Companies using Cortex</p>
            </div>
        <div class="row logos">
            {{ range $adopter := sort $.Site.Data.adopters.adopters "name" }}
            {{ if $adopter.logo }}
                <a class="col-lg-2 col-md-4 col-sm-6 adopter-img my-3"
                 style="background-image: url({{ (printf "/logos/%s" $adopter.logo) | relURL }});" 
                 href="{{ $adopter.url }}" rel="nofollow" target="_blank" style="display: block;">
                </a>
            {{ end }}
            {{ end }}
        </div>
	</div>
</section>
