code: func LoadCustomTemplates(dir string) error {
  	initEmptyTmpls()
  
  	files, err := ioutil.ReadDir(dir)
  	if err != nil {
  		return fmt.Errorf("ioutil.ReadDir: %v", err)
  	}
  
  	templateFiles := []string{}
  	for _, f := range files {
  		templateFiles = append(templateFiles, path.Join(dir, f.Name()))
  	}
  	tmpls, err = tmpls.ParseFiles(templateFiles...)
  	if err != nil {
  		return fmt.Errorf("tmpls.ParseFiles: %v", err)
  	}
  	return nil
  }
docs: // LoadCustomTemplates allows to load in custom templates from a specified path.