Fix title tag.

new-frontend
Icedream 2023-01-09 02:35:10 +01:00
parent c8289dc5c5
commit 014a2d392d
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
3 changed files with 11 additions and 23 deletions

View File

@ -119,15 +119,11 @@ const VideoListPage: NextPage<VideoListPageProps> = function VideoListPage({
<div>
<Head>
<title>
{title}
{' '}
{' '}
{intl.formatMessage({
{`${title} ${intl.formatMessage({
id: 'App.title',
description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive',
})}
})}`}
</title>
</Head>

View File

@ -416,19 +416,11 @@ export default function VideoPlayerPage({
<div>
<Head>
<title>
{videoTitle}
{' '}
{' '}
{title}
{' '}
{' '}
{intl.formatMessage({
{`${videoTitle} ${title} ${intl.formatMessage({
id: 'App.title',
description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive',
})}
})}`}
</title>
</Head>

View File

@ -30,19 +30,19 @@ const Error: NextPage<ErrorProps> = function Error({
<div>
<Head>
<title>
{title}
{' '}
{' '}
{intl.formatMessage({
{`${title} ${intl.formatMessage({
id: 'App.title',
description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive',
})}
})}`}
</title>
</Head>
<p>
<h1>{statusCode} {title}</h1>
<h1>
{statusCode}
{' '}
{title}
</h1>
</p>
</div>
);