mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Fixed #328. Config file set appropriately.
This commit is contained in:
@@ -90,7 +90,7 @@ func init() {
|
||||
}
|
||||
|
||||
func InitializeConfig() {
|
||||
viper.SetConfigName(CfgFile)
|
||||
viper.SetConfigFile(CfgFile)
|
||||
viper.AddConfigPath(Source)
|
||||
err := viper.ReadInConfig()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user