code: func (t *Repository) LoadContrib(name string) error {
  	log.Printf("loading contrib %s", name)
  	const pathPrefix = "templates/contrib/"
  	basePath := pathPrefix + name
  	filesAdded := 0
  	for _, aname := range AssetNames() {
  		if !strings.HasSuffix(aname, ".gotmpl") {
  			continue
  		}
  		if strings.HasPrefix(aname, basePath) {
  			target := aname[len(basePath)+1:]
  			err := t.addFile(target, string(MustAsset(aname)), true)
  			if err != nil {
  				return err
  			}
  			log.Printf("added contributed template %s from %s", target, aname)
  			filesAdded++
  		}
  	}
  	if filesAdded == 0 {
  		return fmt.Errorf("no files added from template: %s", name)
  	}
  	return nil
  }
docs: // LoadContrib loads template from contrib directory