diff options
Diffstat (limited to 'src/java/com/juick/http')
-rw-r--r-- | src/java/com/juick/http/www/Discover.java | 2 | ||||
-rw-r--r-- | src/java/com/juick/http/www/Home.java | 2 | ||||
-rw-r--r-- | src/java/com/juick/http/www/User.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java index ccc460d9..c38a1508 100644 --- a/src/java/com/juick/http/www/Discover.java +++ b/src/java/com/juick/http/www/Discover.java @@ -87,7 +87,7 @@ public class Discover { if (mids.size() >= 20) { String nextpage = "/tag/" + URLEncoder.encode(paramTag.Name, "UTF-8") + "?before=" + mids.get(mids.size() - 1); - out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Читать дальше →</a></p>"); + out.println("<p class=\"page\"><a href=\"" + nextpage + "\" rel=\"prev\">Читать дальше →</a></p>"); } out.println("</section>"); diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java index 465640d8..f54128f4 100644 --- a/src/java/com/juick/http/www/Home.java +++ b/src/java/com/juick/http/www/Home.java @@ -145,7 +145,7 @@ public class Home { nextpage += "&search=" + URLEncoder.encode(paramSearch, "UTF-8"); } - out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Читать дальше →</a></p>"); + out.println("<p class=\"page\"><a href=\"" + nextpage + "\" rel=\"prev\">Читать дальше →</a></p>"); } if (paramShow == null && paramBefore == 0) { diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java index 23b80dd0..8723a7e9 100644 --- a/src/java/com/juick/http/www/User.java +++ b/src/java/com/juick/http/www/User.java @@ -147,7 +147,7 @@ public class User { if (paramSearch != null) { nextpage += "&search=" + URLEncoder.encode(paramSearch, "UTF-8"); } - out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Читать дальше →</a></p>"); + out.println("<p class=\"page\"><a href=\"" + nextpage + "\" rel=\"prev\">Читать дальше →</a></p>"); } out.println("</section>"); |