From: Rico Hoppe Date: Thu, 21 Dec 2023 15:21:50 +0000 (+0000) Subject: base: blog searchbar now shows query, if available X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b5866c18bd19b1b7ce591b07de21dade67cd4f0;p=ipfire.org.git base: blog searchbar now shows query, if available --- 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 %}