Update layout to match convention

This commit is contained in:
Bradley Woods 2018-09-26 20:09:10 +10:00
parent cab6f25de7
commit 67de95ba5a
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ import { Link } from 'gatsby'
import { rhythm, scale } from '../utils/typography'
class Template extends React.Component {
class Layout extends React.Component {
render() {
const { location, children } = this.props
const rootPath = `${__PATH_PREFIX__}/`
@ -68,4 +68,4 @@ class Template extends React.Component {
}
}
export default Template
export default Layout

View file

@ -4,7 +4,7 @@ import get from 'lodash/get'
import Helmet from 'react-helmet'
import Bio from '../components/Bio'
import Layout from '../components/layout'
import Layout from '../components/Layout'
import { rhythm } from '../utils/typography'
class BlogIndex extends React.Component {

View file

@ -4,7 +4,7 @@ import { Link,graphql } from 'gatsby'
import get from 'lodash/get'
import Bio from '../components/Bio'
import Layout from '../components/layout'
import Layout from '../components/Layout'
import { rhythm, scale } from '../utils/typography'
class BlogPostTemplate extends React.Component {