From d7986e71bfeda9ca660e0253b7d6180093e23c9d Mon Sep 17 00:00:00 2001 From: Reorx Date: Sat, 10 Sep 2022 01:44:16 +0800 Subject: [PATCH] remove twitter:image meta tag according to https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started, twitter:image is not needed when og:image appears --- layouts/partials/head.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 165afb4..6f36fbe 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -84,12 +84,10 @@ {{- /* https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started */}} {{- if .Params.cover.image }} - - + {{- else }} {{- with site.Params.images -}} - - + {{- end }} {{- end }}