update Hugo calls
This commit is contained in:
2
hugo.go
2
hugo.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user