Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@users.noreply.github.com>2016-09-16 18:20:29 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-16 18:20:29 +0300
commite80453a991b84280181555b8186730918ae8ee0a (patch)
tree43240f944294701274965ab24471702fba6e9ff4 /hugolib
parent0dd57b907bb092d7b637a63cd378dd33b66fa1b5 (diff)
tpl: Add EnableMissingTranslationPlaceholders option
Fixes #2451
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index d31a38a5a..86c35964c 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -105,4 +105,5 @@ func loadDefaultSettings() {
viper.SetDefault("CurrentContentLanguage", helpers.NewDefaultLanguage())
viper.SetDefault("DefaultContentLanguage", "en")
viper.SetDefault("DefaultContentLanguageInSubdir", false)
+ viper.SetDefault("EnableMissingTranslationPlaceholders", false)
}