summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
-rw-r--r--templates/template.html (renamed from template.html)0
2 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4543b9c..cdae7f3 100644
--- a/main.go
+++ b/main.go
@@ -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
}
diff --git a/template.html b/templates/template.html
index 4b20536..4b20536 100644
--- a/template.html
+++ b/templates/template.html