@@ -44,6 +44,7 @@ from searx.engines import (
4444from searx.utils import (
4545 UnicodeWriter, highlight_content, html_to_text, get_themes
4646)
47+from searx.version import VERSION_STRING
4748from searx.https_rewrite import https_rules
4849from searx.languages import language_codes
4950from searx.search import Search
@@ -171,6 +172,8 @@ def render(template_name, override_theme=None, **kwargs):
171172 if 'autocomplete' not in kwargs:
172173 kwargs['autocomplete'] = autocomplete
173174
175+ kwargs['searx_version'] = VERSION_STRING
176+
174177 kwargs['method'] = request.cookies.get('method', 'POST')
175178
176179 # override url_for function in templates