Skip to content

Commit

Permalink
move back to layout, use string
Browse files Browse the repository at this point in the history
  • Loading branch information
chdeskur committed Mar 8, 2025
1 parent 6161b5f commit 244867b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ export async function generateMetadata({
},
description:
"Browse, explore, and try out API endpoints without leaving the documentation.",
robots: "noindex, nofollow",
};
}
7 changes: 1 addition & 6 deletions packages/fern-docs/bundle/src/components/shared-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,8 @@ export async function generateMetadata({
(FernNavigation.hasMarkdown(node) && node.noindex) ||
isSeoDisabled ||
frontmatter?.noindex ||
slug.includes("~explorer") ||
false;
const nofollow =
isSeoDisabled ||
frontmatter?.nofollow ||
slug.includes("~explorer") ||
false;
const nofollow = isSeoDisabled || frontmatter?.nofollow || false;

return {
title:
Expand Down

0 comments on commit 244867b

Please sign in to comment.