]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #30362
authorXhmikosR <xhmikosr@gmail.com>
Tue, 28 Apr 2020 18:47:59 +0000 (21:47 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 2 May 2020 12:39:19 +0000 (15:39 +0300)
Remove unneeded og:image:secure_url from social.html

The image is always available over HTTPS anyway

site/_includes/social.html

index 277ee2313d3701c635a86c4033878d3be6b35487..cf5be127053af1ee58cb0c4266e22174a8a29f38 100644 (file)
@@ -11,8 +11,7 @@
 <meta property="og:title" content="{{ page.title | default: site.title | smartify }}">
 <meta property="og:description" content="{{ page.description | default: site.description | smartify }}">
 <meta property="og:type" content="website">
-<meta property="og:image" content="{{ site.url | replace: 'https://', 'http://' | append: site.social_image_path }}">
-<meta property="og:image:secure_url" content="{{ site.url | append: site.social_image_path }}">
+<meta property="og:image" content="{{ site.url | append: site.social_image_path }}">
 <meta property="og:image:type" content="image/png">
 <meta property="og:image:width" content="1200">
 <meta property="og:image:height" content="630">