logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: d506d87f60662ece723bae04e930b6b1d8d1f2d0
parent 904a8e7e3f62b32c117ecddfeae39ef3f5e47d1f
Author: Hypolite Petovan <mrpetovan@gmail.com>
Date:   Wed, 18 Oct 2017 23:45:30 -0400

Remove / in url_for parameter for simple theme

Same change as with the oscar theme.

Diffstat:

Msearx/templates/simple/macros.html2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html @@ -9,7 +9,7 @@ <!-- Draw favicon --> {% macro draw_favicon(favicon) -%} - <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> + <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> {%- endmacro %} {% macro result_open_link(url, classes='') -%}