structure changes

This commit is contained in:
Henrique Dias
2016-03-06 20:37:49 +00:00
parent 3f36200862
commit 1375038a66
43 changed files with 405 additions and 392 deletions

View File

@@ -5,7 +5,6 @@ import (
"path/filepath"
"strings"
"github.com/hacdias/caddy-hugo/tools/hugo"
"github.com/mholt/caddy/caddy/setup"
)
@@ -27,7 +26,7 @@ func ParseHugo(c *setup.Controller) (*Config, error) {
Git: false,
}
conf.Hugo = hugo.GetPath()
conf.Hugo = GetPath()
for c.Next() {
args := c.RemainingArgs()