]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
www: more descriptive pagination
[public-inbox.git] / lib / PublicInbox / Feed.pm
index bf095a2cc8e3f7540e4baa66a792781956617431..cbdf5db99f8b8486e8a14caff84259c63e560fd9 100644 (file)
@@ -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 ];
 }