Skip to content

Commit

Permalink
fix: opengraph base metadata title
Browse files Browse the repository at this point in the history
  • Loading branch information
ridhozhr10 committed May 29, 2024
1 parent 5fe8791 commit 14469be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const baseMetadata = (path: string, titlePrefix?: string): Metadata => {
title: `${titlePrefix || ""}${titlePrefix ? " :: " : ""}${title}`,
description,
openGraph: {
title: `${titlePrefix}${titlePrefix && " :: "}${title}`,
title: `${titlePrefix || ""}${titlePrefix ? " :: " : ""}${title}`,
url: `${baseURL}${path ? "/" : ""}${path}`,
description: description,
images: ["/img/smug-ico.png"],
Expand Down

0 comments on commit 14469be

Please sign in to comment.