about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/View.pm4
1 files changed, 4 insertions, 0 deletions
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 ? " <a\nhref=\"$upfx\">index</a>" : '';
+
+        if ($srch && $standalone) {
+                $idx .= qq{ / follow: <a\nhref="t.atom">Atom feed</a>};
+        }
         if ($idx && $srch) {
                 my ($next, $p) = thread_inline(\$idx, $ctx, $mime, $full_pfx);
                 if (defined $p) {