mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-06 07:41:46 -04:00
fix Netlify preview deployments
Netlify uses an old version of Hugo (0.8x) unless you tell it to use something newer. 0.8x does not support congo as a module.
This commit is contained in:
@@ -100,6 +100,9 @@ Then in the root of your site repository, create a `netlify.toml` file:
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.100.2"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.100.2"
|
||||
```
|
||||
|
||||
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
|
||||
|
||||
Reference in New Issue
Block a user