about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwListing.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-30 23:44:54 +0000
committerEric Wong <e@80x24.org>2021-08-31 11:25:16 +0000
commitc5b5453595d291ef825bc3f0b7e043bc86fdd12d (patch)
treec756da10d18ce377e599bec3a0d2e1e3a8e5997d /lib/PublicInbox/WwwListing.pm
parent625ea784692b43809bb7ed1a45c5855e4f8a046c (diff)
downloadpublic-inbox-c5b5453595d291ef825bc3f0b7e043bc86fdd12d.tar.gz
Perhaps this can be expanded to include grokmirror information
in the future.  For now, just give a hint about the "mirror"
link for each inbox.
Diffstat (limited to 'lib/PublicInbox/WwwListing.pm')
-rw-r--r--lib/PublicInbox/WwwListing.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index c3779619..a9290802 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -226,7 +226,10 @@ sub psgi_triple {
         } else {
                 $gzf->zmore('<pre>no inboxes, yet');
         }
-        my $out = $gzf->zflush('</pre></body></html>');
+        my $out = $gzf->zflush('</pre><hr><pre>'.
+qq(This is a listing of public inboxes, see the `mirror' link of each inbox
+for instructions on how to mirror all the data and code on this site.) .
+                        '</pre></body></html>');
         $h->[3] = length($out);
         [ $code, $h, [ $out ] ];
 }