diff --git a/themes/openpowerfoundation/layouts/groups/list.html b/themes/openpowerfoundation/layouts/groups/list.html index b9a33da..dd34eb7 100644 --- a/themes/openpowerfoundation/layouts/groups/list.html +++ b/themes/openpowerfoundation/layouts/groups/list.html @@ -23,7 +23,7 @@ {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/groups/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} -
+
{{ if $imageresource }}
{{ $image := $imageresource.Fit "390x390 webp" }}