mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
25d691daff
commit
adfd4370b6
1 changed files with 6 additions and 0 deletions
|
@ -250,5 +250,11 @@ func loadDefaultSettingsFor(v *viper.Viper) error {
|
|||
v.SetDefault("debug", false)
|
||||
v.SetDefault("disableFastRender", false)
|
||||
|
||||
// Remove in Hugo 0.37
|
||||
if v.GetBool("useModTimeAsFallback") {
|
||||
helpers.Deprecated("Site config", "useModTimeAsFallback", "Try --enableGitInfo or set lastMod in front matter", false)
|
||||
|
||||
}
|
||||
|
||||
return loadLanguageSettings(v, nil)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue