diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/juick/http/www/UserThread.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index 1dd1df69..73809f6c 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -71,6 +71,9 @@ public class UserThread { if (paramView != null) { headers += "<link rel=\"canonical\" href=\"http://juick.com/" + msg.User.UName + "/" + msg.MID + "\"/>"; } + if (msg.Hidden) { + headers += "<meta name=\"robots\" content=\"noindex\"/>"; + } PageTemplates.pageHead(out, title, headers); PageTemplates.pageNavigation(out, visitor, null); |