From 4a5107e8426b1fd8b412b848a8435f26a0eeccb3 Mon Sep 17 00:00:00 2001 From: Dekker500 Date: Sat, 29 Apr 2023 07:22:54 -0400 Subject: [PATCH] Optimizing author image thumbnail generation Optimized author image resize to match expected display size --- layouts/partials/posts-template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/posts-template.html b/layouts/partials/posts-template.html index aee497c..e0c8841 100644 --- a/layouts/partials/posts-template.html +++ b/layouts/partials/posts-template.html @@ -36,7 +36,7 @@ {{ .Params.author }} {{ with .Params.authorimage }} {{ with resources.Get . }} - {{ $authorimage := (.Resize "400x webp").RelPermalink }} + {{ $authorimage := (.Resize "40x webp").RelPermalink }} {{ end }} {{ end }} @@ -58,4 +58,4 @@ {{ end }} - \ No newline at end of file +