diff --git a/themes/openpowerfoundation/layouts/members/list.html b/themes/openpowerfoundation/layouts/members/list.html index 2447a92..3325809 100644 --- a/themes/openpowerfoundation/layouts/members/list.html +++ b/themes/openpowerfoundation/layouts/members/list.html @@ -3,47 +3,51 @@ {{ partial "navbar.html" . }}
-
-
-
-

{{ .Title }}

-
+
+
+
+

{{ .Title }}

+
+
{{ $i := 0 }} {{ $data := index $.Site.Data }} {{ range $data.memberlevels }}
-

{{ .name }}

- {{ $key := .identifier }} - {{ $imageheight := .image.height }} - {{ $imagewidth := .image.width }} - {{ $imagesize := printf "%s webp" .size }} - {{ $col := .col }} -
- {{ range $.Site.Pages }} - {{ $level := .Param "level" }} - {{ if eq $level $key }} -
-
- - {{ if .Param "image" }} - {{ $imagename := .Param "image" }} - {{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }} - {{ $imageresource := resources.Get $imagelocation }} - {{ $image := $imageresource.Fit $imagesize }} - {{ .Title }} - - {{ else }} -

{{ .Param "title" }}

- {{ end }} +

{{ .name }}

+ {{ $key := .identifier }} + {{ $imageheight := .image.height }} + {{ $imagewidth := .image.width }} + {{ $imagesize := printf "%s webp" .size }} + {{ $col := .col }} + + {{ end }} {{ end }} - {{ end }} - - {{ end }} - +
+
+
+ {{ end }} +
+
{{ partial "footer.html" . }}