From 3d27032a51723815a83c61f74098999b9c926b8d Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Mon, 4 Jul 2022 11:38:03 +0530 Subject: [PATCH] remove searx version --- searx/settings.yml | 1 - searx/templates/etheme/base.html | 8 ++++---- searx/webapp.py | 2 -- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 4f7601f30..837e583aa 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -12,7 +12,6 @@ brand: public_instances: https://searx.space wiki_url: https://gitlab.e.foundation/e/infra/spot/wiki twitter_url: https://twitter.com/e_mydata - searx_version: 1.0.0 search: safe_search : 1 # Filter results. 0: None, 1: Moderate, 2: Strict diff --git a/searx/templates/etheme/base.html b/searx/templates/etheme/base.html index 261b7e47a..6c83864b4 100644 --- a/searx/templates/etheme/base.html +++ b/searx/templates/etheme/base.html @@ -90,13 +90,13 @@ {% endblock %}

- e Foundation 2018-{{ year }}, - {{ _('Powered by') }} Spot {{ version[0] }}
- An open-source metasearch engine forked from Searx {{ searx_version }}. {{ _('About') }} {{ _('Privacy') }} - +
+ e Foundation 2018-{{ year }}, + {{ _('Powered by') }} Spot {{ version[0] }}
+ An open-source metasearch engine forked from Searx

diff --git a/searx/webapp.py b/searx/webapp.py index cb7b307bd..1ea22adaf 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -425,8 +425,6 @@ def render(template_name, override_theme=None, **kwargs): kwargs['spot_version'] = VERSION_STRING - kwargs['searx_version'] = settings.get('brand').get('searx_version') - kwargs['year'] = datetime.today().year kwargs['repo_url'] = settings['brand']['git_url'] -- GitLab