diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,7 +22,9 @@ func loadTemplate() { gopaths := strings.Split(os.Getenv("GOPATH"), ":") for _, p := range gopaths { var err error - tpl, err = template.ParseFiles(path.Join(p, "src", "github.com", "silvasur", "startpage", "template.html")) + tpl, err = template.ParseFiles( + path.Join(p, "src", "github.com", "silvasur", "startpage", "templates", "template.html"), + ) if err == nil { return } |