Skip to content

Commit

Permalink
Set X card to use twitter again
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored and julien-deramond committed Dec 18, 2024
1 parent 50a111b commit fb4fa09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions site/layouts/partials/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}">
Expand Down

0 comments on commit fb4fa09

Please sign in to comment.