chore: set index to each page

This commit is contained in:
rusconn
2024-04-04 11:32:46 +09:00
parent 3a68bc9c82
commit 90ba9f4f8e
16 changed files with 80 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.converters.tools.jsonYaml.longTitle,
description: toolGroups.converters.tools.jsonYaml.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -4,6 +4,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.converters.title,
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.converters.tools.numberBase.longTitle,
description: toolGroups.converters.tools.numberBase.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.encodersDecoders.tools.base64.longTitle,
description: toolGroups.encodersDecoders.tools.base64.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.encodersDecoders.tools.html.longTitle,
description: toolGroups.encodersDecoders.tools.html.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.encodersDecoders.tools.jwt.longTitle,
description: toolGroups.encodersDecoders.tools.jwt.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -4,6 +4,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.encodersDecoders.title,
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.encodersDecoders.tools.url.longTitle,
description: toolGroups.encodersDecoders.tools.url.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.formatters.tools.json.longTitle,
description: toolGroups.formatters.tools.json.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -4,6 +4,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.formatters.title,
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.generators.tools.hash.longTitle,
description: toolGroups.generators.tools.hash.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -4,6 +4,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.generators.title,
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -5,6 +5,11 @@ import { toolGroups } from "@/config/tools";
export const metadata: Metadata = {
title: toolGroups.generators.tools.uuid.longTitle,
description: toolGroups.generators.tools.uuid.description,
robots: {
googleBot: {
index: true,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -21,6 +21,11 @@ export const metadata: Metadata = {
template: `%s - ${siteConfig.name}`,
},
description: siteConfig.description,
robots: {
googleBot: {
index: true,
},
},
openGraph: {
title: siteConfig.name,
siteName: siteConfig.name,

View File

@@ -3,6 +3,11 @@ import { Metadata } from "next";
// TODO: use query param
export const metadata: Metadata = {
title: "Search results",
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {

View File

@@ -4,6 +4,11 @@ import { singleTools } from "@/config/tools";
export const metadata: Metadata = {
title: singleTools.settings.longTitle,
robots: {
googleBot: {
index: false,
},
},
};
export default function Layout({ children }: { children: React.ReactNode }) {