Migrate to React 16 (#655)

* migrating to react 16

* Add WarriorJS to Docusaurus users (#656)

* Separate users data from code

* Add WarriorJS to Docusaurus users

* [Feature] Introducing image compression using imagemin (#654)

* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier

* Fix header

* Prettier
This commit is contained in:
Agastya Darma 2018-05-09 19:58:47 -07:00 committed by Yangshun Tay
parent ab6bab9f8d
commit 25cf8bb786
4 changed files with 19 additions and 35 deletions

View file

@ -63,10 +63,7 @@ class Head extends React.Component {
)}
{this.props.config.noIndex && <meta name="robots" content="noindex" />}
{this.props.redirect && (
<meta
http-equiv="refresh"
content={'0; URL=' + this.props.redirect}
/>
<meta httpEquiv="refresh" content={'0; URL=' + this.props.redirect} />
)}
<link
rel="shortcut icon"