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 } = this.props; const { title } = Helmet.rewind(); const font = ; let css; if (process.env.NODE_ENV === 'production') { // eslint-disable-next-line import/no-webpack-loader-syntax css = ; } return (
{ title.toComponent() } { font } { css } ); }, });