0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00

Set X card to use twitter again
All checks were successful
BrowserStack / browserstack (push) Has been skipped

This commit is contained in:
Louis-Maxime Piton 2024-08-13 10:09:06 +02:00
parent a5e1af7647
commit b210dabab2

View File

@ -8,12 +8,12 @@
{{- $socialImagePath = urls.JoinPath $socialImagePath "brand/bootstrap-social.png" -}}
{{- end -}}
<meta name="x:card" content="summary_large_image">
<meta name="x:site" content="@{{ .Site.Params.x }}">
<meta name="x:creator" content="@{{ .Site.Params.x }}">
<meta name="x:title" content="{{ $pageTitle }}">
<meta name="x:description" content="{{ $pageDescription }}">
<meta name="x:image" content="{{ $socialImagePath | absURL }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@{{ .Site.Params.x }}">
<meta name="twitter:creator" content="@{{ .Site.Params.x }}">
<meta name="twitter:title" content="{{ $pageTitle }}">
<meta name="twitter:description" content="{{ $pageDescription }}">
<meta name="twitter:image" content="{{ $socialImagePath | absURL }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:title" content="{{ $pageTitle }}">