diff options
author | Ugnich Anton | 2014-08-05 04:50:13 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-08-05 04:50:13 +0700 |
commit | 9cde0d2d167e037d84f9dcf32e859e1555070d0c (patch) | |
tree | 75f95e35cc1afdfc6955b4461093bfb7a4dad605 | |
parent | 565b8f0b25c9215687ddd4c84f236e1d1696b93d (diff) |
UserThread.Hidden
-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); |