From 3477266f9e7ac83b439543fa0798651c96f995c1 Mon Sep 17 00:00:00 2001 From: discomrade Date: Tue, 28 Sep 2021 09:36:14 +0000 Subject: [PATCH] Add board search to index page --- inc/config.php | 3 +++ templates/index.html | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/inc/config.php b/inc/config.php index 2d61bab1..fb51dc3b 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1727,6 +1727,9 @@ // Enable the search form $config['search']['enable'] = false; + // Enable search in the board index. + $config['board_search'] = false; + // Maximal number of queries per IP address per minutes $config['search']['queries_per_minutes'] = Array(15, 2); diff --git a/templates/index.html b/templates/index.html index 259e99f8..0b48979a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -68,6 +68,13 @@ {% if config.home_link %} | Home {% endif %} + {% if board.uri %} +
+ | + + +
+ {% endif %}