Skip to content

Commit

Permalink
Fixed og:image
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveed committed Jan 3, 2025
1 parent cae46a7 commit 5232565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/stores/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const store: { data: Store } = stores.find(
title: `Markkët Store | ${store?.data?.title}`,
description: store?.data?.SEO?.metaDescription || store?.data?.Description,
url: `/stores/${store?.data?.slug}`,
image: store?.data?.SEO?.socialImage?.formats?.medium?.url,
}}
>
<Header activeNav="pages" store={store} />
Expand All @@ -58,7 +59,7 @@ const store: { data: Store } = stores.find(
{
store?.data?.SEO?.socialImage && (
<HeroImage
image={store?.data?.SEO?.socialImage}
image={store?.data?.SEO?.socialImage?.formats?.medium}
title={store?.data?.title}
/>
)
Expand Down

0 comments on commit 5232565

Please sign in to comment.