Added missing title and og:url to 1-off pages

This commit is contained in:
Brian Vaughn
2017-10-04 15:31:46 -07:00
parent 5134f71e20
commit 192c429a21
4 changed files with 18 additions and 0 deletions

View File

@@ -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