From: Eric Wong Date: Sat, 9 Jan 2016 09:45:22 +0000 (+0000) Subject: view: fix Atom feed link in full message view page X-Git-Tag: v1.0.0~741 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5b77f52067420fee90b0e73485639c51154a8b86;p=public-inbox.git view: fix Atom feed link in full message view page Oops :x --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 829806d8..0783a1d6 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -558,10 +558,11 @@ sub html_footer { my $srch = $ctx->{srch} if $ctx; my $upfx = $full_pfx ? '../' : '../../'; + my $tpfx = $full_pfx ? '' : '../'; my $idx = $standalone ? " index" : ''; if ($srch && $standalone) { - $idx .= qq{ / follow: Atom feed\n}; + $idx .= qq{ / follow: Atom feed\n}; } if ($idx && $srch) { my $p = $ctx->{parent_msg}; @@ -579,7 +580,6 @@ sub html_footer { $irt .= ' ' x length('next '); } if ($p || $next) { - my $tpfx = $full_pfx ? '' : '../'; $irt .= "thread "; } else { $irt .= ' ' x length('thread ');