Update layout to match convention
This commit is contained in:
parent
cab6f25de7
commit
67de95ba5a
3 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@ import { Link } from 'gatsby'
|
||||||
|
|
||||||
import { rhythm, scale } from '../utils/typography'
|
import { rhythm, scale } from '../utils/typography'
|
||||||
|
|
||||||
class Template extends React.Component {
|
class Layout extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
const { location, children } = this.props
|
const { location, children } = this.props
|
||||||
const rootPath = `${__PATH_PREFIX__}/`
|
const rootPath = `${__PATH_PREFIX__}/`
|
||||||
|
|
@ -68,4 +68,4 @@ class Template extends React.Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Template
|
export default Layout
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import get from 'lodash/get'
|
||||||
import Helmet from 'react-helmet'
|
import Helmet from 'react-helmet'
|
||||||
|
|
||||||
import Bio from '../components/Bio'
|
import Bio from '../components/Bio'
|
||||||
import Layout from '../components/layout'
|
import Layout from '../components/Layout'
|
||||||
import { rhythm } from '../utils/typography'
|
import { rhythm } from '../utils/typography'
|
||||||
|
|
||||||
class BlogIndex extends React.Component {
|
class BlogIndex extends React.Component {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { Link,graphql } from 'gatsby'
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
|
|
||||||
import Bio from '../components/Bio'
|
import Bio from '../components/Bio'
|
||||||
import Layout from '../components/layout'
|
import Layout from '../components/Layout'
|
||||||
import { rhythm, scale } from '../utils/typography'
|
import { rhythm, scale } from '../utils/typography'
|
||||||
|
|
||||||
class BlogPostTemplate extends React.Component {
|
class BlogPostTemplate extends React.Component {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue