Add sponsors section to HUB forms; add OSU's sponsors

remotes/1706165253565125130/master
Maximillian Schmidt 12 months ago
parent 21dccd21b4
commit c3a653aecd
Signed by untrusted user: Maximillian Schmidt
GPG Key ID: F71D7E5B93438421

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -13,6 +13,9 @@ addons:
- OpenCAPI Alpha Data 9H3 FPGA (container) - OpenCAPI Alpha Data 9H3 FPGA (container)
systems: systems:
- POWER9 - POWER9
sponsors:
- mellanox
- oracle
opnstkflavors: opnstkflavors:
standard: standard:
- name: "oph.c1m4.d20" - name: "oph.c1m4.d20"

@ -77,6 +77,20 @@
{{ end }} {{ end }}
</div> </div>
</div> </div>
{{ if .Param "sponsors"}}
<div class="row">
<div class="col-lg-4">
<h5>Sponsors :</h5>
{{ range $s := .Param "sponsors" }}
{{ $imagename := (printf "%s.png" $s) }}
{{ $imagelocation := (printf "%s/%s" "images/sponsors/hub/" $imagename) }}
{{ $imageresource := resources.Get $imagelocation }}
{{ $image := $imageresource.Fit "150x150" }}
<img src="{{ $image.RelPermalink }}" alt="{{ $s }}">
{{ end }}
</div>
</div>
{{ end }}
</div> </div>
{{ if .Content }} {{ if .Content }}
<div class="row"> <div class="row">

Loading…
Cancel
Save