import React from 'react' import { Link } from 'gatsby' import { rhythm, scale } from '../utils/typography' class Layout extends React.Component { render() { const { location, children } = this.props const rootPath = `${__PATH_PREFIX__}/` let header if (location.pathname === rootPath) { header = (