Skip to content

Commit 71084c4

Browse files
committed
WIP 26a5e
1 parent b7374c4 commit 71084c4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/site/lib/create-metadata.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,9 @@ export const createMetadata = ({
5757
console.warn(`Warning: ${canonicalPath} does not have a description.`);
5858
}
5959

60-
const formatTitle = (): string => {
61-
return title ?? "Turborepo";
62-
};
63-
64-
const formattedTitle = formatTitle();
65-
6660
return {
6761
metadataBase: getBaseURL(),
68-
title: formattedTitle,
62+
title: title ? `${title} | Turborepo` : "Turborepo",
6963
description,
7064
openGraph: {
7165
siteName: "Turborepo",

0 commit comments

Comments
 (0)