Get the right template file

This commit is contained in:
Peter Stuifzand 2018-07-09 22:21:25 +02:00
parent 4131f77e9f
commit 3f00d820dd

View File

@ -126,7 +126,7 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
var page indexPage
page.Session = sess
err = t.ExecuteTemplate(w, "index", page)
err = t.ExecuteTemplate(w, "index.html", page)
if err != nil {
fmt.Fprintf(w, "ERROR: %q\n", err)
return