@@ -18,6 +18,8 @@ class Html extends React.Component {
1818 static propTypes = {
1919 title : PropTypes . string . isRequired ,
2020 description : PropTypes . string . isRequired ,
21+ keywords : PropTypes . string . isRequired ,
22+ author : PropTypes . string . isRequired ,
2123 styles : PropTypes . arrayOf (
2224 PropTypes . shape ( {
2325 id : PropTypes . string . isRequired ,
@@ -35,14 +37,16 @@ class Html extends React.Component {
3537 } ;
3638
3739 render ( ) {
38- const { title, description, styles, scripts, app, children} = this . props ;
40+ const { title, description, keywords , author , styles, scripts, app, children} = this . props ;
3941 return (
4042 < html className = "no-js" lang = "en" >
4143 < head >
4244 < meta charSet = "utf-8" />
4345 < meta httpEquiv = "x-ua-compatible" content = "ie=edge" />
4446 < title > { title } </ title >
4547 < meta name = "description" content = { description } />
48+ < meta name = "keywords" content = { keywords } />
49+ < meta name = "author" content = { author } />
4650 < meta name = "viewport" content = "width=device-width, initial-scale=1" />
4751 < link rel = "apple-touch-icon" href = "apple-touch-icon.png" />
4852 { styles . map ( style => (
0 commit comments