import React from 'react' import DocumentTitle from 'react-document-title' 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 = DocumentTitle.rewind() const font = ` WebFontConfig = { google: { families: [ 'Roboto:400,500,700:latin,cyrillic' ] } }; (function() { var wf = document.createElement('script'); wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); ` let css if (process.env.NODE_ENV === 'production') { css = } return (