We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4caf8 commit a7041efCopy full SHA for a7041ef
frontends/main/src/app/page.tsx
@@ -16,8 +16,6 @@ export async function generateMetadata({
16
return await getMetadataAsync({
17
title: "Learn with MIT",
18
searchParams,
19
- robots:
20
- process.env.MITOL_NOINDEX === "true" ? "noindex, nofollow" : undefined,
21
})
22
}
23
frontends/main/src/common/metadata.ts
@@ -102,6 +102,8 @@ export const standardizeMetadata = ({
102
title,
103
description,
104
...socialMetadata,
105
+ robots:
106
+ process.env.MITOL_NOINDEX === "false" ? undefined : "noindex, nofollow",
107
...otherMeta,
108
109
0 commit comments