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

jamesk-openroad
Maximillian Schmidt 1 year 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)
systems:
- POWER9
sponsors:
- mellanox
- oracle
opnstkflavors:
standard:
- name: "oph.c1m4.d20"

@ -77,6 +77,20 @@
{{ end }}
</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>
{{ if .Content }}
<div class="row">

Loading…
Cancel
Save