diff --git a/themes/openpowerfoundation/layouts/index.html b/themes/openpowerfoundation/layouts/index.html index 056c874..811ab57 100644 --- a/themes/openpowerfoundation/layouts/index.html +++ b/themes/openpowerfoundation/layouts/index.html @@ -78,20 +78,20 @@

{{ .Param "sections.section-supporters.title" }}

+ {{ range where .Site.RegularPages "Section" "members" }} {{ $level := .Param "level" }} {{ if eq $level "platinum" }} {{ if .Param "image" }} - - {{ $imagename := .Param "image" }} - {{ $imagelocation := (printf "%s/%s" "images/" $imagename) }} - {{ $imageresource := resources.Get $imagelocation }} - {{ $image := $imageresource.Fit "180x102" }} -
- {{ .Title }} -
+ {{ $imagename := .Param "image" }} + {{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }} + {{ $imageresource := resources.Get $imagelocation }} + {{ $image := $imageresource.Resize "185x102" }} +
+ {{ .Title }} +
{{ end }} - {{ end }} - + {{ end }} + {{ end }}