mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 20:04:44 -04:00
parent
babbb9090a
commit
9117f54b39
@ -65,17 +65,17 @@ You can [set Hugo version](https://www.netlify.com/blog/2017/04/11/netlify-plus-
|
|||||||
|
|
||||||
For production:
|
For production:
|
||||||
|
|
||||||
{{< code-toggle file="netlify" >}}
|
{{< code file="netlify.toml" codeLang="toml" >}}
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.53"
|
HUGO_VERSION = "0.82.1"
|
||||||
{{< /code-toggle >}}
|
{{< /code >}}
|
||||||
|
|
||||||
For testing:
|
For testing:
|
||||||
|
|
||||||
```
|
{{< code file="netlify.toml" codeLang="toml" >}}
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.53"
|
HUGO_VERSION = "0.82.1"
|
||||||
```
|
{{< /code >}}
|
||||||
|
|
||||||
The Netlify configuration file can be a little hard to understand and get right for the different environment, and you may get some inspiration and tips from this site's `netlify.toml`:
|
The Netlify configuration file can be a little hard to understand and get right for the different environment, and you may get some inspiration and tips from this site's `netlify.toml`:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user