about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index bf095a2c..cbdf5db9 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -133,7 +133,10 @@ sub recent_msgs {
                 }
         }
 
-        $ctx->{next_page} = "r=$last_commit" if $last_commit;
+        $last_commit and
+                $ctx->{next_page} = qq[<a\nhref="?r=$last_commit"\nrel=next>] .
+                                        'next (older)</a>';
+
         [ map { bless {blob => $_ }, 'PublicInbox::Smsg' } @oids ];
 }