Add alternative method for running prod to the readme

This commit is contained in:
mountainbug95 2020-04-28 11:43:10 -05:00
parent c289a90c13
commit f32ec234cf
No known key found for this signature in database
GPG Key ID: 3EEE76B99FDF9A40

View File

@ -157,6 +157,12 @@ To run in production (e.g. to have Google Analytics show up), run `HUGO_ENV=prod
HUGO_ENV=production hugo HUGO_ENV=production hugo
``` ```
Note: The above command will not work on Windows. If you are running a Windows OS, use the below command:
```
hugo --environment production
```
## Contributing ## Contributing
If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/budparr/gohugo-theme-ananke/issues) to let me know. If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/budparr/gohugo-theme-ananke/issues) to let me know.