From a3b9f5e4c29dd14fb3c407b5e87ee8408e6d2dca Mon Sep 17 00:00:00 2001 From: Michael Bastos Date: Fri, 27 Oct 2023 06:55:02 -0500 Subject: [PATCH] Updating OG and Twitter Image with blog post_image --- _includes/opengraph.html | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/_includes/opengraph.html b/_includes/opengraph.html index add2338..57699c5 100644 --- a/_includes/opengraph.html +++ b/_includes/opengraph.html @@ -3,20 +3,30 @@ - + - - - + +{% if page.post_image and page.post_image != "" %} + +{% elsif page.image and page.image != "" %} + +{% else %} + +{% endif %} - + - - - + +{% if page.post_image and page.post_image != "" %} + +{% elsif page.image and page.image != "" %} + +{% else %} + +{% endif %}