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 ####################
|
||||
# The base URL of your site (required). This will be prepended to all relative URLs.
|
||||
baseURL = "/"
|
||||
|
|
@ -16,10 +20,6 @@ defaultContentLanguage = "de"
|
|||
disableLanguages = ["en"]
|
||||
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.googleAnalytics]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue