Index: doc/codelab/wiki/final-parsetemplate.go |
=================================================================== |
--- a/doc/codelab/wiki/final-parsetemplate.go |
+++ b/doc/codelab/wiki/final-parsetemplate.go |
@@ -55,7 +55,7 @@ |
} |
func renderTemplate(w http.ResponseWriter, tmpl string, p *Page) { |
- t, err := template.ParseFile(tmpl+".html", nil) |
+ t, err := template.ParseFiles(tmpl+".html", nil) |
if err != nil { |
http.Error(w, err.Error(), http.StatusInternalServerError) |
return |