Commit f875be4b authored by Seth A Johnson's avatar Seth A Johnson
Browse files

Every page should have the correct title

HELIO-3166
parent acb0e565
import React from "react" import React from "react"
import {graphql} from "gatsby" import {graphql} from "gatsby"
import SEO from "../components/seo"
import Layout from "../components/layout" import Layout from "../components/layout"
import EventList from "../components/events/eventList" import EventList from "../components/events/eventList"
...@@ -8,6 +9,7 @@ const Events = ({data}) => { ...@@ -8,6 +9,7 @@ const Events = ({data}) => {
return ( return (
<Layout> <Layout>
<SEO title="Events" />
<div className="container page-container"> <div className="container page-container">
<div className="row justify-content-md-center"> <div className="row justify-content-md-center">
<div className="col-md-10"> <div className="col-md-10">
......
import React from "react" import React from "react"
import {graphql} from "gatsby" import {graphql} from "gatsby"
import SEO from "../components/seo"
import Layout from "../components/layout" import Layout from "../components/layout"
import NewsList from "../components/news/newsList" import NewsList from "../components/news/newsList"
...@@ -8,6 +9,7 @@ const News = ({data}) => { ...@@ -8,6 +9,7 @@ const News = ({data}) => {
return ( return (
<Layout> <Layout>
<SEO title="News" />
<div className="container page-container"> <div className="container page-container">
<div className="row justify-content-md-center"> <div className="row justify-content-md-center">
<div className="col-md-10"> <div className="col-md-10">
......
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -8,6 +9,7 @@ const About = ({data}) => { ...@@ -8,6 +9,7 @@ const About = ({data}) => {
const html = data.markdownRemark.html const html = data.markdownRemark.html
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
......
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -8,6 +9,7 @@ const Authors = ({data}) => { ...@@ -8,6 +9,7 @@ const Authors = ({data}) => {
const html = data.markdownRemark.html const html = data.markdownRemark.html
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
...@@ -27,4 +29,4 @@ export const query = graphql` ...@@ -27,4 +29,4 @@ export const query = graphql`
} }
` `
export default Authors export default Authors
\ No newline at end of file
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import {graphql} from "gatsby" import {graphql} from "gatsby"
import Img from "gatsby-image" import Img from "gatsby-image"
...@@ -13,7 +14,8 @@ const Event = ({data}) => { ...@@ -13,7 +14,8 @@ const Event = ({data}) => {
return ( return (
<Layout> <Layout>
<div className="container page-container"> <SEO title={title} />
<div className="container page-container">
<div className="row justify-content-md-center"> <div className="row justify-content-md-center">
<div className="col-md-10"> <div className="col-md-10">
<h1 className="mb-3">{title}</h1> <h1 className="mb-3">{title}</h1>
......
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -17,6 +18,7 @@ const Impact = ({data}) => { ...@@ -17,6 +18,7 @@ const Impact = ({data}) => {
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div className="readership-map"> <div className="readership-map">
......
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -8,6 +9,7 @@ const Join = ({data}) => { ...@@ -8,6 +9,7 @@ const Join = ({data}) => {
const html = data.markdownRemark.html const html = data.markdownRemark.html
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
...@@ -27,4 +29,4 @@ export const query = graphql` ...@@ -27,4 +29,4 @@ export const query = graphql`
} }
` `
export default Join export default Join
\ No newline at end of file
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import {graphql} from "gatsby" import {graphql} from "gatsby"
import Img from "gatsby-image" import Img from "gatsby-image"
...@@ -13,6 +14,7 @@ const News = ({data}) => { ...@@ -13,6 +14,7 @@ const News = ({data}) => {
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<div className="row justify-content-md-center"> <div className="row justify-content-md-center">
<div className="col-md-10"> <div className="col-md-10">
......
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -8,6 +9,7 @@ const peerReview = ({data}) => { ...@@ -8,6 +9,7 @@ const peerReview = ({data}) => {
const html = data.markdownRemark.html const html = data.markdownRemark.html
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
...@@ -27,4 +29,4 @@ export const query = graphql` ...@@ -27,4 +29,4 @@ export const query = graphql`
} }
` `
export default peerReview export default peerReview
\ No newline at end of file
import React from 'react' import React from 'react'
import SEO from "../components/seo"
import Layout from '../components/layout' import Layout from '../components/layout'
import Title from '../components/title' import Title from '../components/title'
import {graphql} from 'gatsby' import {graphql} from 'gatsby'
...@@ -8,6 +9,7 @@ const Series = ({data}) => { ...@@ -8,6 +9,7 @@ const Series = ({data}) => {
const html = data.markdownRemark.html const html = data.markdownRemark.html
return ( return (
<Layout> <Layout>
<SEO title={title} />
<div className="container page-container"> <div className="container page-container">
<Title title={title} /> <Title title={title} />
<div dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
...@@ -27,4 +29,4 @@ export const query = graphql` ...@@ -27,4 +29,4 @@ export const query = graphql`
} }
` `
export default Series export default Series
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment