view/template.go
func InitHtmlTemplates(pattern string) (err error) {
	htmlTemp.Template, err = html.ParseGlob(pattern)
	return
}
func InitHtmlTemplates(pattern string) (err error) {
	htmlTemp.Template, err = html.ParseGlob(pattern)
	return
}
// InitHtmlTemplates initialzes a series of HTML templates
// in the directory `pattern`.