From 3a11c2eaeb1f5ba93324ee92f2d1d3a749be1212 Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Thu, 18 Apr 2024 09:42:24 +0200 Subject: [PATCH] Add 'environment' variable for development deployment in hugo.toml at the top. --- hugo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hugo.toml b/hugo.toml index 58351ec..fe57943 100755 --- a/hugo.toml +++ b/hugo.toml @@ -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]