From 998ce46fb623fb3c6b2ad9b2e530d21f6201a928 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 5 May 2022 11:36:20 +0800 Subject: [PATCH] refine twitter cards --- layouts/partials/head.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3411f18..d855306 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -73,12 +73,12 @@ {{- /* https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started */}} {{- if .Params.cover.image }} - + - - - + + + {{- else -}} {{- template "_internal/twitter_cards.html" . -}} {{- end -}}