Skip to content

Commit

Permalink
fix: use main title for open graph title in head tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MaevaWolff committed Aug 15, 2023
1 parent 430062f commit 133473b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/seo/SEOTags.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DEFAULT_DESCRIPTION_PAGE =
const DEFAULT_URL_SITE = SITE_URL;
const openGraph = {
title: og?.title || DEFAULT_TITLE_PAGE,
title: title || og?.title || DEFAULT_TITLE_PAGE,
type: og?.type || "website",
image: og?.image || "/opengraph-image.jpg",
alt: og?.alt || "astro portfolio template image",
Expand Down

1 comment on commit 133473b

@vercel
Copy link

@vercel vercel bot commented on 133473b Aug 15, 2023

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.