mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 22:39:41 +01:00
Fix head reference from helmet
This commit is contained in:
parent
d0ef44d107
commit
e477a106e6
4
html.js
4
html.js
@ -11,7 +11,7 @@ module.exports = React.createClass({
|
||||
},
|
||||
render() {
|
||||
const {body, route} = this.props
|
||||
const title = Helmet.rewind()
|
||||
const head = Helmet.rewind()
|
||||
const font = <link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,700&subset=latin,cyrillic' rel='stylesheet' type='text/css' />
|
||||
let css
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
@ -25,7 +25,7 @@ module.exports = React.createClass({
|
||||
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=5.0" />
|
||||
<title>
|
||||
{ title }
|
||||
{ head.title }
|
||||
</title>
|
||||
{ font }
|
||||
{ css }
|
||||
|
Loading…
Reference in New Issue
Block a user