We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7374c4 commit 71084c4Copy full SHA for 71084c4
docs/site/lib/create-metadata.ts
@@ -57,15 +57,9 @@ export const createMetadata = ({
57
console.warn(`Warning: ${canonicalPath} does not have a description.`);
58
}
59
60
- const formatTitle = (): string => {
61
- return title ?? "Turborepo";
62
- };
63
-
64
- const formattedTitle = formatTitle();
65
66
return {
67
metadataBase: getBaseURL(),
68
- title: formattedTitle,
+ title: title ? `${title} | Turborepo` : "Turborepo",
69
description,
70
openGraph: {
71
siteName: "Turborepo",
0 commit comments