aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Oliff <[email protected]>2020-03-08 17:06:49 +0900
committerGitHub <[email protected]>2020-03-08 10:06:49 +0200
commitf59ed75ba3fb3e3253f7b1385262a46d5ac7de5e (patch)
tree7d13d29e39bd66c68509fbce892913e25935c88c
parentcfa874f5b9f601091589a460c3a1b2f003c8af9e (diff)
downloadbootstrap-f59ed75ba3fb3e3253f7b1385262a46d5ac7de5e.tar.xz
bootstrap-f59ed75ba3fb3e3253f7b1385262a46d5ac7de5e.zip
Remove unneeded og:image:secure_url from social.html (#30362)
The image is always available over HTTPS anyway Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--site/layouts/partials/social.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/site/layouts/partials/social.html b/site/layouts/partials/social.html
index 11a68f812..c950e5851 100644
--- a/site/layouts/partials/social.html
+++ b/site/layouts/partials/social.html
@@ -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">