diff --git a/_includes/metadata.html b/_includes/metadata.html
index 3ebc2a1d55ef..941b75d3bbde 100644
--- a/_includes/metadata.html
+++ b/_includes/metadata.html
@@ -33,9 +33,9 @@
{%- if site.serve_og_meta %}
-
+
-
+
{% if page.og_image or site.og_image -%}
@@ -45,7 +45,7 @@
-
+
{% if page.og_image or site.og_image -%}