import React from 'react' import { Link } from 'react-router' import { Container } from 'react-responsive-grid' import { link } from 'gatsby-helpers' import { rhythm, fontSizeToMS } from 'utils/typography' import { config } from 'config' import '../css/styles.css' class Template extends React.Component { render () { const { location, children } = this.props let header if (location.pathname === link('/')) { header = (