0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Remove unneeded og:image:secure_url from social.html (#30362)

The image is always available over HTTPS anyway

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Christian Oliff 2020-03-08 17:06:49 +09:00 committed by GitHub
parent cfa874f5b9
commit f59ed75ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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