mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
Added missing title and og:url to 1-off pages
This commit is contained in:
@@ -16,6 +16,7 @@ import hex2rgba from 'hex2rgba';
|
||||
import MarkdownHeader from 'components/MarkdownHeader';
|
||||
import React from 'react';
|
||||
import StickyResponsiveSidebar from 'components/StickyResponsiveSidebar';
|
||||
import TitleAndMetaTags from 'components/TitleAndMetaTags';
|
||||
import {colors, sharedStyles} from 'theme';
|
||||
import {createLinkDocs} from 'utils/createLink';
|
||||
import findSectionForPath from 'utils/findSectionForPath';
|
||||
@@ -47,6 +48,9 @@ const ErrorPage = ({data, location}) => (
|
||||
path={data.markdownRemark.fields.path}
|
||||
title={data.markdownRemark.frontmatter.title}
|
||||
/>
|
||||
<TitleAndMetaTags
|
||||
title={`React - ${data.markdownRemark.frontmatter.title}`}
|
||||
/>
|
||||
|
||||
<div css={sharedStyles.articleLayout.content}>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user