mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +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() {
|
render() {
|
||||||
const {body, route} = this.props
|
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' />
|
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
|
let css
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
@ -25,7 +25,7 @@ module.exports = React.createClass({
|
|||||||
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=5.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=5.0" />
|
||||||
<title>
|
<title>
|
||||||
{ title }
|
{ head.title }
|
||||||
</title>
|
</title>
|
||||||
{ font }
|
{ font }
|
||||||
{ css }
|
{ css }
|
||||||
|
Loading…
Reference in New Issue
Block a user