Update for 0.9

This commit is contained in:
Kyle Mathews 2016-03-28 21:15:50 -07:00
parent 44fc7c7b40
commit dc2746a93f
9 changed files with 52 additions and 50 deletions

View file

@ -1,7 +1,7 @@
import React from 'react'
import { Link } from 'react-router'
import { Container } from 'react-responsive-grid'
import { link } from 'gatsby-helpers'
import { prefixLink } from 'gatsby-helpers'
import { rhythm, fontSizeToMS } from 'utils/typography'
import { config } from 'config'
@ -11,7 +11,7 @@ class Template extends React.Component {
render () {
const { location, children } = this.props
let header
if (location.pathname === link('/')) {
if (location.pathname === prefixLink('/')) {
header = (
<h1
style={{
@ -25,7 +25,7 @@ class Template extends React.Component {
textDecoration: 'none',
color: 'inherit',
}}
to={link('/')}
to={prefixLink('/')}
>
{config.blogTitle}
</Link>
@ -39,7 +39,7 @@ class Template extends React.Component {
textDecoration: 'none',
color: 'inherit',
}}
to={link('/')}
to={prefixLink('/')}
>
{config.blogTitle}
</Link>