From 0069622991612bae281b7b9e2f6027636967f9c1 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sun, 9 Jul 2017 10:09:10 -0700 Subject: [PATCH] Fixed index template name --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 8fd350b..d0b9d7b 100644 --- a/server.go +++ b/server.go @@ -283,7 +283,7 @@ func NewServer(bind string, config Config) *Server { // Templates box := rice.MustFindBox("templates") - indexTemplate := template.New("view") + indexTemplate := template.New("index") template.Must(indexTemplate.Parse(box.MustString("index.html"))) template.Must(indexTemplate.Parse(box.MustString("base.html")))