aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-01-29 01:38:55 -0800
committerPinapelz <yukais@pinapelz.com>2024-01-29 01:38:55 -0800
commit47f64c9219fa68d45159bdadb0c403f1b374b2fb (patch)
tree4fd39083bb34731635601e176396851efd7d3ad7 /pages
parent1656c388da9e27ca962ded031fdc7b6612b56361 (diff)
update meta tags
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx8
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">
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage