update Hugo calls

This commit is contained in:
Henrique Dias
2016-02-20 22:33:10 +00:00
parent e8874fabf1
commit 454c59e8a3
4 changed files with 6 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ func Setup(c *setup.Controller) (middleware.Middleware, error) {
}
if create {
err := utils.RunCommand("hugo", []string{"new", "site", config.Path, "--force"}, ".")
err := utils.RunCommand(config.Hugo, []string{"new", "site", config.Path, "--force"}, ".")
if err != nil {
log.Panic(err)
}