thumbmail time??
All checks were successful
deploy / deploy (push) Successful in 53s

This commit is contained in:
Lee 2023-10-23 07:24:21 +01:00
parent cb9c297351
commit b1cbd7a3fa
2 changed files with 2 additions and 1 deletions

@ -13,6 +13,7 @@ export const metadata: Metadata = {
template: ssrSettings.siteName + " - %s", template: ssrSettings.siteName + " - %s",
default: ssrSettings.siteName, default: ssrSettings.siteName,
}, },
metadataBase: new URL(ssrSettings.siteUrl),
openGraph: { openGraph: {
title: ssrSettings.siteName, title: ssrSettings.siteName,
description: "Aggregate your scores with other leaderboards together!", description: "Aggregate your scores with other leaderboards together!",

@ -27,12 +27,12 @@ export async function generateMetadata({
title: `${player.name}`, title: `${player.name}`,
description: description, description: description,
openGraph: { openGraph: {
type: "website",
title: `${ssrSettings.siteName} - ${player.name}`, title: `${ssrSettings.siteName} - ${player.name}`,
description: description, description: description,
images: [ images: [
{ {
url: player.profilePicture, url: player.profilePicture,
type: "article",
}, },
], ],
}, },