github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/website/layouts/shortcodes/adopters.html (about) 1 {{ $_hugo_config := `{ "version": 1 }` }} 2 {{ $col_id := .Get "color" | default .Ordinal }} 3 {{ $height := .Get "height" | default "auto" }} 4 {{/* Height can be one of: auto, min, med, max, full. */}} 5 <a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a> 6 <section class="row td-box td-box--{{ $col_id }} position-relative td-box--gradient td-box--height-{{ $height }}"> 7 <div class="container td-arrow-down"> 8 <div class="col pb-5"> 9 <p class="h2 companies text-center">Companies using Cortex</p> 10 </div> 11 <div class="adopters-logos"> 12 {{ range $adopter := sort $.Site.Data.adopters.adopters "name" }} 13 {{ if $adopter.logo }} 14 <a class="adopter-logo" href="{{ $adopter.url }}" rel="nofollow" target="_blank"> 15 <img src="{{ (printf "/logos/%s" $adopter.logo) | relURL }}" alt="{{ $adopter.name }}" /> 16 </a> 17 {{ end }} 18 {{ end }} 19 </div> 20 </div> 21 </section>