package gopher // generateHTMLRedirect takes a URL string and generates an HTML redirect page bytes func generateHTMLRedirect(url string) []byte { content := "\n" + "\n" + "" + "\n" + "\n" + "You are following an external link to a web site.\n" + "You will be automatically taken to the site shortly.\n" + "If you do not get sent there, please click here to go to the web site.\n" + "

\n" + "The URL linked is " + url + "\n" + "

\n" + "Thanks for using Gophor!\n" + "\n" + "\n" return []byte(content) }