From 8f95aa8d593c284a153a20e01ef3050343118c05 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 Mar 2023 22:19:54 +0100 Subject: Forum search using FTS5. --- views/forum_view.pug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views/forum_view.pug') diff --git a/views/forum_view.pug b/views/forum_view.pug index 46c1b1e..33be0ad 100644 --- a/views/forum_view.pug +++ b/views/forum_view.pug @@ -43,4 +43,9 @@ html | #[a(href="/forum/page/"+(current_page+1)) →] if user - p: a(href="/forum/post") New thread + p + form(method="get" action="/forum/search") + input(type="text" name="q" size=40 maxlength=80 placeholder="Search..." required) + if user + p + a(href="/forum/post") New thread -- cgit v1.2.3