shithub: hugo

Download patch

ref: bf9595aa242cc31800c554eec1c166ca6a361f8b
parent: 8d3fa7ef49bf6ee37071c104616a43f63813a8cb
author: spf13 <[email protected]>
date: Tue Jul 1 06:59:58 EDT 2014

Fixed #328. Config file set appropriately.

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -90,7 +90,7 @@
 }
 
 func InitializeConfig() {
-	viper.SetConfigName(CfgFile)
+	viper.SetConfigFile(CfgFile)
 	viper.AddConfigPath(Source)
 	err := viper.ReadInConfig()
 	if err != nil {