From 41da3eef9eda3e234126e4498e3f4b013c75a6c4 Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Fri, 20 May 2022 11:36:53 +0530 Subject: [PATCH] add ?v=version for static js/css --- searx/templates/etheme/base.html | 20 ++++++++++---------- searx/templates/etheme/results.html | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/searx/templates/etheme/base.html b/searx/templates/etheme/base.html index d7070d8d9..261b7e47a 100644 --- a/searx/templates/etheme/base.html +++ b/searx/templates/etheme/base.html @@ -19,12 +19,12 @@ {% block meta %}{% endblock %} {% block title %}{% endblock %}{{ instance_name }} - - - + + + {% for css in styles %} - + {% endfor %} @@ -102,16 +102,16 @@ - - - - {% if autocomplete %}{% endif %} - + + + {% if autocomplete %}{% endif %} + {% for script in scripts %} - + {% endfor %} diff --git a/searx/templates/etheme/results.html b/searx/templates/etheme/results.html index 889b50e73..10a0fa6da 100644 --- a/searx/templates/etheme/results.html +++ b/searx/templates/etheme/results.html @@ -73,7 +73,7 @@ {% if pageno == 1 and 'general' in selected_categories %}
- +
{{ put_results(results[:3], True) }}
-- GitLab