diff --git a/comments.go b/comments.go index 7092dfe..182243c 100644 --- a/comments.go +++ b/comments.go @@ -38,6 +38,7 @@ func serveComment(blog string) func(http.ResponseWriter, *http.Request) { serveError(w, r, err.Error(), http.StatusInternalServerError) return } + w.Header().Set("X-Robots-Tag", "noindex") render(w, templateComment, &renderData{ BlogString: blog, Data: comment,