diff options
author | Ugnich Anton | 2014-01-27 06:08:39 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-01-27 06:08:39 +0700 |
commit | f1e3d22f610640c9096ad182503ebb3a9f850f2b (patch) | |
tree | 22a83efa10194993e11b08c180c8cd9078ca92d9 /src/java/com/juick/http/www | |
parent | ade66d36ff43112c06b13e484d029724354f7ae4 (diff) |
noindex
Diffstat (limited to 'src/java/com/juick/http/www')
-rw-r--r-- | src/java/com/juick/http/www/Home.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java index 6833aebb..029f76ad 100644 --- a/src/java/com/juick/http/www/Home.java +++ b/src/java/com/juick/http/www/Home.java @@ -106,6 +106,10 @@ public class Home { out.println("<div id=\"wrapper\">"); out.println("<div id=\"content\">"); + if (paramShow == null && paramBefore == 0) { + out.println("<!--noindex-->"); + } + if (mids.size() > 0) { int ad_mid = 0; if (paramShow == null || paramShow.equals("top") || paramShow.equals("all")) { @@ -135,6 +139,11 @@ public class Home { out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Older →</a></p>"); } + + if (paramShow == null && paramBefore == 0) { + out.println("<!--/noindex-->"); + } + PageTemplates.pageFooter(request, out, locale, visitor, true); out.println("</div>"); out.println("</div>"); // wrapper |