From 6f7bfaaa098adfdd2ba891a2637b0ba41be831f0 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 9 Dec 2021 12:21:39 +0100 Subject: [PATCH] better fitting for platinum members and webp Signed-off-by: Toshaan Bharvani --- themes/openpowerfoundation/layouts/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/openpowerfoundation/layouts/index.html b/themes/openpowerfoundation/layouts/index.html index 811ab57..e78d598 100644 --- a/themes/openpowerfoundation/layouts/index.html +++ b/themes/openpowerfoundation/layouts/index.html @@ -85,8 +85,8 @@ {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} - {{ $image := $imageresource.Resize "185x102" }} -
+ {{ $image := $imageresource.Fit "185x102 Center webp" }} +
{{ .Title }}
{{ end }}