code: func TmplToString(tmpl string, data interface{}) string {
  	t := template.New("tmpl").Funcs(BeeFuncMap())
  	template.Must(t.Parse(tmpl))
  
  	var doc bytes.Buffer
  	err := t.Execute(&doc, data)
  	MustCheck(err)
  
  	return doc.String()
  }
docs: // TmplToString parses a text template and return the result as a string.