From d4a7f56e56c2b512ef3567476eeae390f3c1aff1 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 4 Jan 2022 08:55:09 +0100 Subject: [PATCH] change the location where group images come from Signed-off-by: Toshaan Bharvani --- themes/openpowerfoundation/layouts/groups/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/openpowerfoundation/layouts/groups/list.html b/themes/openpowerfoundation/layouts/groups/list.html index 4f1c34b..b9a33da 100644 --- a/themes/openpowerfoundation/layouts/groups/list.html +++ b/themes/openpowerfoundation/layouts/groups/list.html @@ -21,7 +21,7 @@
{{ range (.Data.Pages.ByParam "wgtype").Reverse }} {{ $imagename := .Param "image" }} - {{ $imagelocation := (printf "%s/%s" "images/" $imagename) }} + {{ $imagelocation := (printf "%s/%s" "images/groups/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }}
{{ if $imageresource }}