about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-03-21 02:03:52 +0000
committerEric Wong <e@yhbt.net>2020-03-25 01:48:35 +0000
commit089380f8ebecbe868c5599773b3c23d40b3db129 (patch)
tree58c4c183a0aedac7d1c503e6ef07b802b035813e /lib
parentb76f9a8ad97b28dc9329abddadd83252614882ad (diff)
downloadpublic-inbox-089380f8ebecbe868c5599773b3c23d40b3db129.tar.gz
And show contact info when there's no indexing, at all.
Installations where Xapian is too expensive can still support
threading since it only depends on SQLite, so we need to inform
users of what's available.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/WwwText.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm
index f6d831f6..cbe82b73 100644
--- a/lib/PublicInbox/WwwText.pm
+++ b/lib/PublicInbox/WwwText.pm
@@ -256,6 +256,11 @@ EOF
 
         $QP_URL
 
+EOF
+        } # $srch
+        my $over = $ibx->over;
+        if ($over) {
+                $$txt .= <<EOF;
 message threading
 -----------------
 
@@ -301,6 +306,10 @@ message threading
 
         $WIKI_URL/Mbox
 
+EOF
+        } # $over
+
+        $$txt .= <<EOF;
 contact
 -------
 
@@ -309,7 +318,6 @@ contact
 
 EOF
         # TODO: support admin contact info in ~/.public-inbox/config
-        }
         1;
 }