func NewTemplate(path string) (Template, error) {
	switch filepath.Ext(path) {
	case ".html":
		return NewHTML(path)
	case ".haml":
		// return NewHAML(path)
		fallthrough
	default:
		return nil, ErrUnsupportedTemplate
	}
}
// NewTemplate creates a new Template from a file on disk
NewTemplate creates a new Template from a file on disk
// NewTemplate creates a new Template from a file on disk
func NewTemplate(path string) (Template, error) {
	switch filepath.Ext(path) {
	case ".html":
		return NewHTML(path)
	case ".haml":
		fallthrough
	default:
		return nil, ErrUnsupportedTemplate
	}
}
func NewTemplate ( path string ) ( Template , error ) { switch filepath . Ext ( path ) { case " " : return NewHTML ( path ) case " " : fallthrough default : return nil , ErrUnsupportedTemplate } }
NewTemplate creates a new Template from a file on disk
NewTemplate creates a new Template from a file on disk
// return NewHAML(path)