Rendering upload template as pure HTML language

@souzadevinicius, I guess that @filipenos and I agree that the new
extension may cause confusion, altought for *nix it doesn't metter.
Can we keep the .html extension as it also works, and makes the file
recognized by other tools/editors as an HTML file?

2014-11-03 18:55 GMT-02:00 Filipe Peixoto <notifications@github.com>:

> In main.go:
>
> > @@ -73,9 +73,9 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) {
> >  }
> >
> >  func display(w http.ResponseWriter, data interface{}) {
> > -	t, err := template.New("upload").Parse(upload)
> > +	t, err := template.ParseFiles("upload.gtpl")
>
> I understand, but why did you make a file with the extension .gtpl?
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/filipenos/easy-server/pull/1/files#r19763198>.
>



-- 
Ronoaldo Pereira
http://www.ronoaldo.net/