about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-25 01:00:24 +0000
committerEric Wong <e@80x24.org>2016-04-25 01:00:24 +0000
commitc4183f56aab666b38b1c11a182231fb1f11e6a6e (patch)
tree3c173e883b4ab02a6e2969948573f54cdb85ed86 /lib/PublicInbox/Feed.pm
parente43b93b82d515f06afa4c0ba787f45c28ab1450e (diff)
downloadpublic-inbox-c4183f56aab666b38b1c11a182231fb1f11e6a6e.tar.gz
This can makes navigation easier with some browsers or
or browser extensions.

ref: https://www.w3.org/TR/html/links.html#sequential-link-types
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 096bff9d..d433726f 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -185,7 +185,7 @@ sub nav_footer {
         my $anchor = $state->{anchor_idx};
 
         if ($last) {
-                $next = qq!<a\nhref="?$param=$last">next</a>!;
+                $next = qq!<a\nhref="?$param=$last"\nrel=next>next</a>!;
         }
         if ($old_r) {
                 $head = $cgi->path_info;