From 0b5866c18bd19b1b7ce591b07de21dade67cd4f0 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Thu, 21 Dec 2023 15:21:50 +0000 Subject: [PATCH] base: blog searchbar now shows query, if available --- src/templates/base.html | 92 ++++++++++++++++++++++++----------------- 1 file changed, 54 insertions(+), 38 deletions(-) diff --git a/src/templates/base.html b/src/templates/base.html index 6d275592..a36db3e5 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -63,7 +63,8 @@
+ {% if q %} placeholder="{{ _("Searching for") }} {{ q }}" + {% else %} placeholder="{{ _("Search Blog...") }}"{% end %}> @@ -150,10 +151,6 @@
- {% else %} - - - {% end %} {% elif hostname.startswith("fireinfo.") %} @@ -198,47 +195,66 @@ {% block footer %} {% end block %} -- 2.47.3