Merge branch 'master' of github.com:liuzc/LeaveIt

This commit is contained in:
Covey 2018-09-15 13:01:45 +08:00
commit b9448edf6e

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. Customize browserconfig.xml and site.webmanifest to set theme-color and background-color for example.
# Tips # 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. Because some functions are only in production mode, So you **need to add a production** environment variables when generating your site.
```bash ```bash
HUGO_ENV=production hugo --gc --minify 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? # Questions, ideas, bugs, pull requests?
All feedback is welcome! Head over to the [issue tracker](https://github.com/liuzc/LeaveIt/issues). All feedback is welcome! Head over to the [issue tracker](https://github.com/liuzc/LeaveIt/issues).
# License # 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: The following resources are included in the theme:
* lazysizes - https://github.com/aFarkas/lazysizes * lazysizes - https://github.com/aFarkas/lazysizes