diff options
author | Ugnich Anton | 2014-06-18 18:23:39 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-06-18 18:23:39 +0700 |
commit | f5899de9203a89483bfad67b1a8d9a831834acd7 (patch) | |
tree | 1a39fd35ecbb0f2f1f863d2445f271680d1c2e79 /src | |
parent | 2e844c16e2ae2054096d2d0abb84280e0b1af3dc (diff) |
+ rel="prev"
Diffstat (limited to 'src')
-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>"); |