code: func PrettifyURL(in string) string {
  	x := PrettifyURLPath(in)
  
  	if path.Base(x) == "index.html" {
  		return path.Dir(x)
  	}
  
  	if in == "" {
  		return "/"
  	}
  
  	return x
  }
docs: // PrettifyURL takes a URL string and returns a semantic, clean URL.