Just use the build-in -e/--production flag

You don't need to set `HUGO_ENV`, you can use the built-in `-e` or `--environment` flag on the `hugo` command.
This commit is contained in:
Melroy van den Berg 2023-02-05 15:49:21 +01:00 committed by GitHub
parent a1a99cf126
commit dc192345b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,6 +358,12 @@ set HUGO_ENV=production
hugo
```
Alternatively, you can also run production build using:
```
hugo -e production
```
## Contributing
If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/theNewDynamic/gohugo-theme-ananke/issues) to let me know.