1 parent eb2957f commit 2a146ebCopy full SHA for 2a146eb
1 file changed
crowdsec-docs/src/theme/NotFound/index.tsx
@@ -1,3 +1,4 @@
1
+import Head from "@docusaurus/Head";
2
import { translate } from "@docusaurus/Translate";
3
import { PageMetadata } from "@docusaurus/theme-common";
4
import Layout from "@theme/Layout";
@@ -12,6 +13,10 @@ export default function Index(): ReactNode {
12
13
return (
14
<>
15
<PageMetadata title={title} />
16
+ <Head>
17
+ {/* Amplify serves this page on every unknown path, so keep those URLs out of search indexes. */}
18
+ <meta name="robots" content="noindex" />
19
+ </Head>
20
<Layout>
21
<NotFoundContent />
22
</Layout>
0 commit comments