From abc556a1ec3335c8e3a605d15e1bfcb6b1343467 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 24 Oct 2023 13:45:34 +0100 Subject: [PATCH] fix seo --- src/app/layout.tsx | 5 +++-- src/ssrSettings.ts | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2b70f14..e389cc9 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -10,14 +10,15 @@ import "./globals.css"; const font = Inter({ subsets: ["latin-ext"], weight: "500" }); export const metadata: Metadata = { + metadataBase: new URL(ssrSettings.siteUrl), title: { template: ssrSettings.siteName + " - %s", default: ssrSettings.siteName, }, - metadataBase: new URL(ssrSettings.siteUrl), + description: ssrSettings.description, openGraph: { title: ssrSettings.siteName, - description: "Aggregate your scores with other leaderboards together!", + description: ssrSettings.description, url: ssrSettings.siteUrl, locale: "en_US", type: "website", diff --git a/src/ssrSettings.ts b/src/ssrSettings.ts index 01fa7a6..f52a68d 100644 --- a/src/ssrSettings.ts +++ b/src/ssrSettings.ts @@ -1,5 +1,6 @@ export const ssrSettings = { siteName: "ScoreSaber Reloaded", + description: "Aggregate your scores with other leaderboards together!", siteUrl: "https://ssr.fascinated.cc", proxy: "https://proxy.fascinated.cc", };