diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-01-29 01:38:55 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-01-29 01:38:55 -0800 |
| commit | 47f64c9219fa68d45159bdadb0c403f1b374b2fb (patch) | |
| tree | 4fd39083bb34731635601e176396851efd7d3ad7 /pages/index.tsx | |
| parent | 1656c388da9e27ca962ded031fdc7b6612b56361 (diff) | |
update meta tags
Diffstat (limited to 'pages/index.tsx')
| -rw-r--r-- | pages/index.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index 82e3381..259776d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -74,7 +74,13 @@ const CustomPlayerPage = () => { return ( <PageBase> <Head> - <title>Custom Player - Ragtag Archive</title> + { + infoJson && infoJson.title ? ( + <title>{infoJson.title}</title> + ) : + <title>a very nice video</title> + } + </Head> {showPlayer ? ( <div className="mt-2"> |
