From 192c429a2165fb3759a27558ca6895ca68a494fa Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 4 Oct 2017 15:31:46 -0700 Subject: [PATCH] Added missing title and og:url to 1-off pages --- src/pages/404.js | 2 ++ src/pages/acknowledgements.html.js | 6 ++++++ src/pages/blog/all.html.js | 6 ++++++ src/pages/docs/error-decoder.html.js | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/src/pages/404.js b/src/pages/404.js index ee68bf38..f4be82aa 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -11,6 +11,7 @@ import Container from 'components/Container'; import Header from 'components/Header'; +import TitleAndMetaTags from 'components/TitleAndMetaTags'; import React from 'react'; import {sharedStyles} from 'theme'; @@ -19,6 +20,7 @@ const PageNotFound = () => (
Page Not Found
+

We couldn't find what you were looking for.

diff --git a/src/pages/acknowledgements.html.js b/src/pages/acknowledgements.html.js index 83e85d9d..57dede18 100644 --- a/src/pages/acknowledgements.html.js +++ b/src/pages/acknowledgements.html.js @@ -11,7 +11,9 @@ import Container from 'components/Container'; import Header from 'components/Header'; +import TitleAndMetaTags from 'components/TitleAndMetaTags'; import React from 'react'; +import {urlRoot} from 'site-constants'; import {sharedStyles} from 'theme'; import names from '../../content/acknowledgements.yml'; @@ -21,6 +23,10 @@ const Acknowlegements = ({data, location}) => (

Acknowledgements
+

We'd like to thank all of our contributors:

diff --git a/src/pages/blog/all.html.js b/src/pages/blog/all.html.js index 8226cd08..841b0986 100644 --- a/src/pages/blog/all.html.js +++ b/src/pages/blog/all.html.js @@ -12,7 +12,9 @@ import Link from 'gatsby-link'; import Container from 'components/Container'; import Header from 'components/Header'; +import TitleAndMetaTags from 'components/TitleAndMetaTags'; import React from 'react'; +import {urlRoot} from 'site-constants'; import {colors, media, sharedStyles} from 'theme'; import toCommaSeparatedList from 'utils/toCommaSeparatedList'; import MetaTitle from 'templates/components/MetaTitle'; @@ -22,6 +24,10 @@ const AllBlogPosts = ({data}) => (
All Posts
+
    ( path={data.markdownRemark.fields.path} title={data.markdownRemark.frontmatter.title} /> +