aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/client.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-06-16 19:11:01 +0200
committerBjørn Erik Pedersen <[email protected]>2021-06-18 12:54:30 +0200
commitbb2aa08709c812a5be29922a1a7f4d814e200cab (patch)
treea709117fe1a882b0179e41db0d72b103f53a4f6a /modules/client.go
parent9096842b0494166e401cc08a70b93ae2ee19a198 (diff)
downloadhugo-bb2aa08709c812a5be29922a1a7f4d814e200cab.tar.gz
hugo-bb2aa08709c812a5be29922a1a7f4d814e200cab.zip
Implement configuration in a directory for modules
Fixes #8654
Diffstat (limited to 'modules/client.go')
-rw-r--r--modules/client.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/client.go b/modules/client.go
index 571ece15e..73c3242a8 100644
--- a/modules/client.go
+++ b/modules/client.go
@@ -653,6 +653,9 @@ type ClientConfig struct {
// Absolute path to the project's themes dir.
ThemesDir string
+ // Eg. "production"
+ Environment string
+
CacheDir string // Module cache
ModuleConfig Config
}