logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 18f772615b04343965c7589256219f2117cb1a0f
parent 41aca9a068cbaf4e630461b844a152e7f2444548
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date:   Wed, 10 Dec 2014 18:09:21 +0100

HTML Entities + Use the right template

Courgette was using the wrong template. I assume it was a mistake.

Diffstat:

Msearx/templates/courgette/results.html6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/searx/templates/courgette/results.html b/searx/templates/courgette/results.html @@ -10,7 +10,7 @@ <div id="search_url"> {{ _('Search URL') }}: - <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" /> + <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly /> </div> <div id="apis"> {{ _('Download results') }} @@ -43,9 +43,9 @@ {% for result in results %} {% if result['template'] %} - {% include 'default/result_templates/'+result['template'] %} + {% include 'courgette/result_templates/'+result['template'] %} {% else %} - {% include 'default/result_templates/default.html' %} + {% include 'courgette/result_templates/default.html' %} {% endif %} {% endfor %}