diff --git a/themes/openpowerfoundation/layouts/blog/list.html b/themes/openpowerfoundation/layouts/blog/list.html index 5cb0800..606e428 100644 --- a/themes/openpowerfoundation/layouts/blog/list.html +++ b/themes/openpowerfoundation/layouts/blog/list.html @@ -20,7 +20,7 @@ {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/blog/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} -
+
{{ if $imageresource }}
{{ $image := $imageresource.Resize "50x50 webp" }}