]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwStream.pm
No ext_urls
[public-inbox.git] / lib / PublicInbox / WwwStream.pm
index 8c40096afbdcc80f126fde73346f64e724a69745..880639b73d99fc6c8d8c82c63ae50b1b89a25f48 100644 (file)
@@ -108,11 +108,7 @@ sub html_top ($) {
        }
        my $code = $ibx->{coderepo} ? qq( / <a\nhref=#code>code</a>) : '';
        # id=mirror must exist for legacy bookmarks
-       my $links = qq(<a\nhref="${upfx}_/text/help/">help</a> / ).
-                       qq(<a\nhref="${upfx}_/text/color/">color</a> / ).
-                       qq(<a\nid=mirror) .
-                       qq(\nhref="${upfx}_/text/mirror/">mirror</a>$code / ).
-                       qq(<a\nhref="$atom">Atom feed</a>);
+       my $links = qq(<a\nhref="$atom">Atom feed</a>);
        if ($ibx->isrch) {
                my $q_val = delete($ctx->{-q_value_html}) // '';
                $q_val = qq(\nvalue="$q_val") if $q_val ne '';
@@ -160,6 +156,7 @@ sub coderepos ($) {
 }
 
 sub _html_end {
+       return '</body></html>';
        my ($ctx) = @_;
        my $upfx = $ctx->{-upfx} || '';
        my $m = "${upfx}_/text/mirror/";