Add 'environment' variable for development deployment in hugo.toml at the top.
This commit is contained in:
parent
d591e396f1
commit
3a11c2eaeb
1 changed files with 4 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
########################### Deployment #############################
|
||||||
|
# set to "development" or "production" to deploy the site to the correct environment
|
||||||
|
environment = "development"
|
||||||
|
|
||||||
######################## default configuration ####################
|
######################## default configuration ####################
|
||||||
# The base URL of your site (required). This will be prepended to all relative URLs.
|
# The base URL of your site (required). This will be prepended to all relative URLs.
|
||||||
baseURL = "/"
|
baseURL = "/"
|
||||||
|
|
@ -16,10 +20,6 @@ defaultContentLanguage = "de"
|
||||||
disableLanguages = ["en"]
|
disableLanguages = ["en"]
|
||||||
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
|
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
|
||||||
|
|
||||||
########################### Deployment #############################
|
|
||||||
# set to "development" or "production" to deploy the site to the correct environment
|
|
||||||
environment = "development"
|
|
||||||
|
|
||||||
########################### Services #############################
|
########################### Services #############################
|
||||||
[services]
|
[services]
|
||||||
[services.googleAnalytics]
|
[services.googleAnalytics]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue