From ccbf904010e91479be45573af7ea02281163b2fa Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 10 Sep 2020 09:21:43 +0100 Subject: [PATCH] Make list images slightly larger Makes them look crisper --- layouts/partials/list_item.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/list_item.html b/layouts/partials/list_item.html index 3aff0d2..9f7c89d 100644 --- a/layouts/partials/list_item.html +++ b/layouts/partials/list_item.html @@ -5,7 +5,7 @@ {{ .Scratch.Set "image" .Params.image }} {{ if hasPrefix .Params.image "resource:" }} {{ $resource := .Resources.GetMatch (replace .Params.image "resource:" "") }} - {{ .Scratch.Set "image" ($resource.Resize "300x").RelPermalink }} + {{ .Scratch.Set "image" ($resource.Resize "500x").RelPermalink }} {{ end }}
@@ -19,4 +19,3 @@

{{ partial "summary.html" . }}

-