From 980f06dc80d269acf704e72b35ba108d5fc60ed3 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 15 Jul 2024 11:48:17 +0200 Subject: [PATCH 1/2] feat: add image tags for social media sharing --- layouts/partials/head.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f685a49..28690eb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,8 +20,10 @@ + + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} From 0bea79744795d243629826ec664b9856733b3d93 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 15 Jul 2024 12:01:23 +0200 Subject: [PATCH 2/2] fix: Use content image as thumbnail if applicable --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 28690eb..84edc38 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,10 +20,10 @@ - + - + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}