From c2c99aa71c1c4dbad4f9e6b2fb85f09cf1d2d27e Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Fri, 29 Apr 2022 13:05:31 +0100 Subject: [PATCH] Fix issue #19, adding noindex,nofollow meta tag to document page --- app/routes/j/$id.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/routes/j/$id.tsx b/app/routes/j/$id.tsx index 2843df4..b0d91f3 100644 --- a/app/routes/j/$id.tsx +++ b/app/routes/j/$id.tsx @@ -88,10 +88,11 @@ export const meta: MetaFunction = ({ data: LoaderData | undefined; }) => { if (!data) { - return { title: "JSON Hero" }; + return { title: "JSON Hero", robots: "noindex,nofollow" }; } return { title: `JSON Hero - ${data.doc.title}`, + robots: "noindex,nofollow", }; };