add metadata and opengraph tags

This commit is contained in:
Nathaniel Tampus
2023-03-06 10:30:22 +08:00
parent 82ca2791c3
commit a9accad679
2 changed files with 47 additions and 1 deletions

View File

@@ -8,7 +8,21 @@ import ContextProvider from "@/context/ContextProvider";
export const metadata = {
title: "chessu",
description: "Play Chess online."
description: "Play Chess online.",
openGraph: {
title: "chessu",
description: "Play Chess online.",
url: "https://ches.su",
siteName: "chessu",
locale: "en_US",
type: "website"
},
robots: {
index: true,
follow: false,
nocache: true,
noarchive: true
}
};
export default function RootLayout({ children }: { children: React.ReactNode }) {