code: func PathPrep(ugly bool, in string) string {
  	if ugly {
  		return Uglify(in)
  	}
  	return PrettifyPath(in)
  }
docs: // PathPrep prepares the path using the uglify setting to create paths on
  // either the form /section/name/index.html or /section/name.html.