From: Michael Tremer Date: Wed, 20 Dec 2023 15:41:16 +0000 (+0000) Subject: blog/docs: Fix putting the search term back into the search box X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fb1a1fce88e604a2b24e89c8145dc4437d32279;p=ipfire.org.git blog/docs: Fix putting the search term back into the search box Signed-off-by: Michael Tremer --- diff --git a/src/templates/base.html b/src/templates/base.html index 247ba0f2..3174959e 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -62,7 +62,7 @@
@@ -78,7 +78,7 @@
diff --git a/src/web/base.py b/src/web/base.py index fa419379..11406547 100644 --- a/src/web/base.py +++ b/src/web/base.py @@ -93,13 +93,14 @@ class BaseHandler(tornado.web.RequestHandler): now = datetime.date.today() ns.update({ - "backend" : self.backend, - "debug" : self.application.settings.get("debug", False), + "backend" : self.backend, + "debug" : self.application.settings.get("debug", False), "format_size" : util.format_size, "format_time" : util.format_time, - "hostname" : self.hostname, - "now" : now, - "year" : now.year, + "hostname" : self.hostname, + "now" : now, + "q" : None, + "year" : now.year, }) return ns