Add 'environment' variable for development deployment in hugo.toml at the top.

This commit is contained in:
Andreas Hnida 2024-04-18 09:42:24 +02:00
commit 3a11c2eaeb

View file

@ -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]