Merge pull request 'Add sponsors section to HUB forms; add OSU's sponsors' (#57) from maxschmidt/openpower.foundation:master into master

Reviewed-on: website/openpower.foundation#57
remotes/1706165253565125130/master
Toshaan Bharvani 12 months ago
commit 0949843f29

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