diff --git a/src/constants.ts b/src/constants.ts index 36e78ca..98f288c 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -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"],