diff options
author | Ugnich Anton | 2014-07-25 17:56:18 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-07-25 17:56:18 +0700 |
commit | a0a9e4151991111886d88b565fda7db9fba1dfd8 (patch) | |
tree | 7f8ff1a97b2830f584d7c9d616997b1906422966 /src/java/com/juick/http/www/PageTemplates.java | |
parent | 2b9c93ac6d216b67e95ccc0cfb30bc5f58c9744a (diff) |
SEO, advertising
Diffstat (limited to 'src/java/com/juick/http/www/PageTemplates.java')
-rw-r--r-- | src/java/com/juick/http/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index c64f99dd..da4c0b81 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -73,7 +73,7 @@ public class PageTemplates { out.println(" <div id=\"logo\"><a href=\"/\">Juick</a></div>"); out.print(" <nav id=\"global\"><ul>"); out.print("<li><a href=\"/\">Популярные</a></li>"); - out.print("<li><a href=\"/?show=all\">Все сообщения</a></li>"); + out.print("<li><a href=\"/?show=all\" rel=\"nofollow\">Все сообщения</a></li>"); out.println("</ul></nav>"); out.print(" <div id=\"search\"><form action=\"/\"><input type=\"text\" name=\"search\" class=\"text\" placeholder=\"Поиск\""); if (search != null) { @@ -498,7 +498,7 @@ public class PageTemplates { if (user == null) { tags = msg.Tags.isEmpty() ? "" : formatTags(msg.Tags, null); } else { - tags = msg.Tags.isEmpty() ? "" : formatTags(msg.Tags, msg.User); + tags = msg.Tags.isEmpty() ? "" : formatTags(msg.Tags, null); //msg.User); } if (msg.ReadOnly) { tags += " *readonly"; |