import React from 'react' import Helmet from 'react-helmet' import { prefixLink } from 'gatsby-helpers' const BUILD_TIME = new Date().getTime() module.exports = React.createClass({ displayName: 'HTML', propTypes: { body: React.PropTypes.string, }, render() { const {body, route} = this.props const {title} = Helmet.rewind() const font = let css if (process.env.NODE_ENV === 'production') { css = } return (
{ title.toComponent() } { font } { css } ) }, })