Get the right template file
This commit is contained in:
parent
4131f77e9f
commit
3f00d820dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user