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/1702639230946063886/master
Toshaan Bharvani 1 year 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) - 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