aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Discover.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-07-01 17:33:00 +0700
committerGravatar Ugnich Anton2014-07-01 17:33:00 +0700
commit6ceb03cce40e5183b2bb5e93c0cb4b5d39992e94 (patch)
tree80721ee8741525a25505316ce87c79b8567f36b3 /src/java/com/juick/http/www/Discover.java
parent0439784c9e32e2bfe6ccb7ea7569fa8a503c1152 (diff)
Share new post
Diffstat (limited to 'src/java/com/juick/http/www/Discover.java')
-rw-r--r--src/java/com/juick/http/www/Discover.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java
index c38a1508..ff4b3ee5 100644
--- a/src/java/com/juick/http/www/Discover.java
+++ b/src/java/com/juick/http/www/Discover.java
@@ -72,7 +72,7 @@ public class Discover {
String head = "";
if (TagQueries.getTagNoIndex(sql, paramTag.TID)) {
head = "<meta name=\"robots\" content=\"noindex,nofollow\"/>";
- } else if (paramBefore > 0) {
+ } else if (paramBefore > 0 || mids.size() < 5) {
head = "<meta name=\"robots\" content=\"noindex\"/>";
}
PageTemplates.pageHead(out, title, head);