From 3f8a09d311cc125d933836f54ad171b8bcc1a4b6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 2 Dec 2023 16:42:30 +0100 Subject: [PATCH] chore: use smartcrop for profile images (#465) --- layouts/shortcodes/img.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 6f177dd..f435bc6 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -16,7 +16,7 @@ {{- $data.SetInMap "size" "medium" "1200" }} {{- $data.SetInMap "size" "large" "1800" }} {{- else }} - {{- $data.SetInMap "size" "profile" (.Fill "180x180 Center").Permalink }} + {{- $data.SetInMap "size" "profile" (.Fill "180x180 Smart").Permalink }} {{- $data.SetInMap "size" "tiny" (.Resize "320x").Permalink }} {{- $data.SetInMap "size" "small" (.Resize "600x").Permalink }} {{- $data.SetInMap "size" "medium" (.Resize "1200x").Permalink }}