diff options
author | Eric Wong <e@80x24.org> | 2024-01-23 22:09:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-01-24 01:53:51 +0000 |
commit | 9411a741d7cb7f090a576aacfd70e271a4815997 (patch) | |
tree | b6ae811d9f33598f9098ded68ccf872dca632a42 | |
parent | 13f19ce67e4c641405828fa16e563e3fbf6b8eb9 (diff) | |
download | public-inbox-9411a741d7cb7f090a576aacfd70e271a4815997.tar.gz |
This makes the new endpoints easier-to-find. The navigation is still at the bottom of the page since I figured having it at the top is too cluttered for users on small terminals.
-rw-r--r-- | lib/PublicInbox/View.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 9d4262c1..697535ff 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -1201,7 +1201,11 @@ sub pagination_footer ($$) { $next = $next ? "$next | " : ' | '; $prev .= qq[ | <a\nhref="$latest">latest</a>]; } - ($next || $prev) ? "<hr><pre id=nav>page: $next$prev</pre>" : ''; + my $rv = '<hr><pre id=nav>'; + $rv .= "page: $next$prev\n" if $next || $prev; + $rv .= q{- recent:[<b>subjects (threaded)</b>|<a +href="./topics_new.html">topics (new)</a>|<a +href="./topics_active.html">topics (active)</a>]</pre>}; } sub paginate_recent ($$) { |