code: func Fmt() error {
  	if !isGoLatest() {
  		return nil
  	}
  	pkgs, err := hugoPackages()
  	if err != nil {
  		return err
  	}
  	failed := false
  	first := true
  	for _, pkg := range pkgs {
  		files, err := filepath.Glob(filepath.Join(pkg, "*.go"))
  		if err != nil {
  			return nil
  		}
  		for _, f := range files {
  			// gofmt doesn't exit with non-zero when it finds unformatted code
  			// so we have to explicitly look for output, and if we find any, we
  			// should fail this target.
  			s, err := sh.Output("gofmt", "-l", f)
  			if err != nil {
  				fmt.Printf("ERROR: running gofmt on %q: %v\n", f, err)
  				failed = true
  			}
  			if s != "" {
  				if first {
  					fmt.Println("The following files are not gofmt'ed:")
  					first = false
  				}
  				failed = true
  				fmt.Println(s)
  			}
  		}
  	}
  	if failed {
  		return errors.New("improperly formatted go files")
  	}
  	return nil
  }
docs: // Run gofmt linter