update robots.txt

master
Ted Unangst 4 years ago
parent 07615e9822
commit 67dbb4f9d1

@ -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