]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwStream.pm
www_stream: description header links to top $INBOX_URL
[public-inbox.git] / lib / PublicInbox / WwwStream.pm
index c960edc52fdc545503e9d73ec8444f04c812e62e..472316c29c4ca12531b4b059ac8c9751772322cc 100644 (file)
@@ -49,6 +49,8 @@ sub html_top ($) {
        # we had some kind of query, link to /$INBOX/?t=YYYYMMDDhhmmss
        } elsif ($ctx->{qp}->{t}) {
                $top = qq(<a\nhref="./">$top</a>);
+       } elsif (length($upfx)) {
+               $top = qq(<a\nhref="$upfx">$top</a>);
        }
        my $code = $ibx->{coderepo} ? qq( / <a\nhref=#code>code</a>) : '';
        # id=mirror must exist for legacy bookmarks