From: Eric Wong Date: Sun, 13 Sep 2015 23:25:05 +0000 (+0000) Subject: view: extra Atom feed link in standalone message view X-Git-Tag: v1.0.0~885 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3cab495544d85ce77804ffa78c705f242bf9125d;p=public-inbox.git view: extra Atom feed link in standalone message view It might be helpful if user agents do not display the element in . --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 7e1fb045..6cb340b0 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -544,6 +544,10 @@ sub html_footer { my $srch = $ctx->{srch} if $ctx; my $upfx = $full_pfx ? '../' : '../../'; my $idx = $standalone ? " index" : ''; + + if ($srch && $standalone) { + $idx .= qq{ / follow: Atom feed}; + } if ($idx && $srch) { my ($next, $p) = thread_inline(\$idx, $ctx, $mime, $full_pfx); if (defined $p) {