mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 20:01:36 +00:00
🐞 fix: Opengraph title
This commit is contained in:
@@ -119,6 +119,20 @@ export default function FilePathPage(props: FilePathPageProps) {
|
||||
<LoaderLayout
|
||||
seo={{
|
||||
title: props.mappedEncryptedPath[(props.mappedEncryptedPath.length ?? 1) - 1].name,
|
||||
openGraph: {
|
||||
type: "website",
|
||||
title: props.mappedEncryptedPath[(props.mappedEncryptedPath.length ?? 1) - 1].name,
|
||||
description: gIndexConfig.siteConfig.siteDescription,
|
||||
url: process.env.NEXT_PUBLIC_VERCEL_URL,
|
||||
siteName: gIndexConfig.siteConfig.siteName,
|
||||
images: [
|
||||
{
|
||||
url: `/og.png`,
|
||||
width: 1200,
|
||||
height: 630,
|
||||
},
|
||||
],
|
||||
},
|
||||
}}
|
||||
>
|
||||
{isLoadingData ? (
|
||||
|
||||
Reference in New Issue
Block a user