diff --git a/assets/images/sponsors/hub/mellanox.png b/assets/images/sponsors/hub/mellanox.png new file mode 100644 index 0000000..f1f2c53 Binary files /dev/null and b/assets/images/sponsors/hub/mellanox.png differ diff --git a/assets/images/sponsors/hub/oracle.png b/assets/images/sponsors/hub/oracle.png new file mode 100644 index 0000000..725a13c Binary files /dev/null and b/assets/images/sponsors/hub/oracle.png differ diff --git a/content/hub/oregonstateuniversity.md b/content/hub/oregonstateuniversity.md index ec6593b..1c1496d 100644 --- a/content/hub/oregonstateuniversity.md +++ b/content/hub/oregonstateuniversity.md @@ -13,6 +13,9 @@ addons: - OpenCAPI Alpha Data 9H3 FPGA (container) systems: - POWER9 +sponsors: + - mellanox + - oracle opnstkflavors: standard: - name: "oph.c1m4.d20" diff --git a/themes/openpowerfoundation/layouts/hub/single.html b/themes/openpowerfoundation/layouts/hub/single.html index 95345f5..339ab5d 100644 --- a/themes/openpowerfoundation/layouts/hub/single.html +++ b/themes/openpowerfoundation/layouts/hub/single.html @@ -77,6 +77,20 @@ {{ end }} + {{ if .Param "sponsors"}} +
+
+
Sponsors :
+ {{ 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" }} + {{ $s }} + {{ end }} +
+
+ {{ end }} {{ if .Content }}