mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
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:
parent
a1a99cf126
commit
dc192345b7
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user