✏️ Update README.md

This commit is contained in:
LiuZhichao 2018-09-14 21:56:46 +08:00 committed by GitHub
parent 33c59f8c49
commit f9d7ea2c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,16 +72,23 @@ into `/static`. Theyre easily created via https://realfavicongenerator.net/.
Customize browserconfig.xml and site.webmanifest to set theme-color and background-color for example.
# Tips
#### Set production environment when generating site
Because some functions are only in production mode, So you **need to add a production** environment variables when generating your site.
```bash
HUGO_ENV=production hugo --gc --minify
```
#### Hugo “extended” Sass/SCSS version required
This theme write style with scss, So you must download and install the “extended” Sass/SCSS version
# Questions, ideas, bugs, pull requests?
All feedback is welcome! Head over to the [issue tracker](https://github.com/liuzc/LeaveIt/issues).
# License
Kiss is licensed under the MIT license. Check the LICENSE file for details.
LeaveIt is licensed under the MIT license. Check the LICENSE file for details.
The following resources are included in the theme:
* lazysizes - https://github.com/aFarkas/lazysizes