Skip to content

Commit

Permalink
fix meta tags attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
louismorgan-linaro committed Oct 31, 2023
1 parent 716727d commit b0f285c
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/components/head/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ const social_image =
image: social_image,
},
}}
,
twitter={{
title: title,
description: description,
card: "summary_large_image",
image: social_image,
creator: "@LinaroOrg",
}}
extend={{
link: [
{
Expand All @@ -42,17 +50,6 @@ const social_image =
},
],
meta: [
{ property: "twitter:creator", content: "@LinaroOrg" },
{
property: "twitter:image",
content: social_image,
},
{ property: "twitter:title", content: title },
{ property: "twitter:description", content: description },
{
property: "twitter:card",
content: social_image,
},
{
property: "og:image",
content: social_image,
Expand Down

0 comments on commit b0f285c

Please sign in to comment.