diff options
author | Eric Wong <e@80x24.org> | 2016-01-09 09:45:22 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-09 09:46:50 +0000 |
commit | 5b77f52067420fee90b0e73485639c51154a8b86 (patch) | |
tree | ff0bf3c76ea8a0e618f9ec742237adde3277168c /lib/PublicInbox | |
parent | b1ea344564ed1b1cd48a4530155e16abee0a9863 (diff) | |
download | public-inbox-5b77f52067420fee90b0e73485639c51154a8b86.tar.gz |
Oops :x
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/View.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 ? " <a\nhref=\"$upfx\">index</a>" : ''; if ($srch && $standalone) { - $idx .= qq{ / follow: <a\nhref="t.atom">Atom feed</a>\n}; + $idx .= qq{ / follow: <a\nhref="${tpfx}t.atom">Atom feed</a>\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 .= "<a\nhref=\"${tpfx}t/#u\">thread</a> "; } else { $irt .= ' ' x length('thread '); |