X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FFeed.pm;h=de1e7dfeb584a5631acb8704d909b51ceedc2223;hb=refs%2Fheads%2Fmaster;hp=56ca98861a096365bd78402340f91078eb3ad85d;hpb=d6d1f632bf8c7f34ae014a9cd69fde699bbe183a;p=public-inbox.git diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 56ca9886..de1e7dfe 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -49,15 +49,15 @@ sub generate_html_index { sub new_html_i { my ($ctx, $eml) = @_; - $ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip}; + print { $ctx->zfh } $ctx->html_top if exists $ctx->{-html_tip}; if ($eml) { $ctx->{smsg}->populate($eml) if !$ctx->{ibx}->{over}; return PublicInbox::View::eml_entry($ctx, $eml); } my $smsg = shift @{$ctx->{msgs}} or - $ctx->zmore(PublicInbox::View::pagination_footer( - $ctx, './new.html')); + print { $ctx->zfh } PublicInbox::View::pagination_footer( + $ctx, './new.html'); $smsg; } @@ -70,6 +70,7 @@ sub new_html { } $ctx->{-html_tip} = '
';
 	$ctx->{-upfx} = '';
+	$ctx->{-spfx} = '' if $ctx->{ibx}->{coderepo};
 	$ctx->{-hr} = 1;
 	PublicInbox::WwwStream::aresponse($ctx, \&new_html_i);
 }