Include a lang property on html node (#295)

Google Chrome guesses the language if this is not present. Large quantities of source code can confuse it and lead to it selecting completely the wrong language.
This commit is contained in:
Forbes Lindesay 2017-12-17 04:05:58 +00:00 committed by Joel Marcey
parent c60131fdb4
commit bf8006f6ba

View file

@ -42,7 +42,7 @@ class Site extends React.Component {
latestVersion = require(CWD + '/versions.json')[0];
}
return (
<html>
<html lang={this.props.language}>
<Head
config={this.props.config}
description={description}