Skip to content

Commit

Permalink
Add meta image fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zuzkastavjanova committed Dec 23, 2022
1 parent 079e744 commit dc2bf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/MySiteLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const { title, error, description, image } = Astro.props;
property="og:description"
content={description}
/>
<meta name='image' property="og:image" content={image} />
{image && <meta property="og:image" content={image} />}
</head>

<body>
Expand Down

1 comment on commit dc2bf10

@vercel
Copy link

@vercel vercel bot commented on dc2bf10 Dec 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.