From 3cab495544d85ce77804ffa78c705f242bf9125d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 13 Sep 2015 23:25:05 +0000 Subject: view: extra Atom feed link in standalone message view It might be helpful if user agents do not display the element in . --- lib/PublicInbox/View.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/PublicInbox/View.pm') 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) { -- cgit v1.2.3-24-ge0c7