update robots.txt

Ted Unangst 4 years ago
parent 420a7abb54
commit 6af6ffda2a

@ -2075,9 +2075,10 @@ func servefile(w http.ResponseWriter, r *http.Request) {
func nomoroboto(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "User-agent: *\n")
io.WriteString(w, "Disallow: /a\n")
io.WriteString(w, "Disallow: /d\n")
io.WriteString(w, "Disallow: /meme\n")
io.WriteString(w, "Disallow: /d/\n")
io.WriteString(w, "Disallow: /meme/\n")
io.WriteString(w, "Disallow: /o\n")
io.WriteString(w, "Disallow: /o/\n")
for _, u := range allusers() {
fmt.Fprintf(w, "Disallow: /%s/%s/%s/\n", userSep, u.Username, honkSep)
}

Loading…
Cancel
Save