From 7251306e6ca7761b0abc4a7f542d6a4978887d19 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 27 Jul 2023 17:07:13 +0200
Subject: [PATCH] shared images not cropped

---
 layouts/partials/head/seo.html | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/layouts/partials/head/seo.html b/layouts/partials/head/seo.html
index c349efba..9ee56ca2 100644
--- a/layouts/partials/head/seo.html
+++ b/layouts/partials/head/seo.html
@@ -40,13 +40,11 @@
   {{- $image := partial "GetMedia" $id -}}
   {{- $ogImage = partial "GetImageUrl" (dict
           "media" $image
-          "size" "1200x630"
-          "crop" true
+          "size" "1200"
         ) -}}
   {{- $twitterImage = partial "GetImageUrl" (dict
           "media" $image
-          "size" "1200x675"
-          "crop" true
+          "size" "1200"
         ) -}}
 {{- end -}}
 {{- $seoUrl := .Permalink -}}
-- 
GitLab