Fixed index template name
This commit is contained in:
parent
b14f88c8d0
commit
0069622991
@ -283,7 +283,7 @@ func NewServer(bind string, config Config) *Server {
|
|||||||
// Templates
|
// Templates
|
||||||
box := rice.MustFindBox("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("index.html")))
|
||||||
template.Must(indexTemplate.Parse(box.MustString("base.html")))
|
template.Must(indexTemplate.Parse(box.MustString("base.html")))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user