diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 165afb4652..6f36fbe775 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 }}