Fix title tag.
parent
c8289dc5c5
commit
014a2d392d
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue