]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unneeded og:image:secure_url from social.html (#30362)
authorChristian Oliff <christianoliff@pm.me>
Sun, 8 Mar 2020 08:06:49 +0000 (17:06 +0900)
committerGitHub <noreply@github.com>
Sun, 8 Mar 2020 08:06:49 +0000 (10:06 +0200)
The image is always available over HTTPS anyway

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/layouts/partials/social.html

index 11a68f812e352d6a0023232c0fae8a088a088416..c950e5851c82f863b2db4c624eb4423d0def1920 100644 (file)
@@ -11,8 +11,7 @@
 <meta property="og:title" content="{{ .Title | markdownify }}">
 <meta property="og:description" content="{{ .Page.Params.description | default .Site.Params.description | markdownify }}">
 <meta property="og:type" content="website">
-<meta property="og:image" content="{{ replace (.Site.Params.social_image_path | absURL) "https://" "http://" }}">
-<meta property="og:image:secure_url" content="{{ .Site.Params.social_image_path | absURL }}">
+<meta property="og:image" content="{{ .Site.Params.social_image_path | absURL }}">
 <meta property="og:image:type" content="image/png">
 <meta property="og:image:width" content="1200">
 <meta property="og:image:height" content="630">