summaryrefslogtreecommitdiff
path: root/searx/templates/courgette
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-01 18:59:53 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-01 18:59:53 +0100
commit2f9a386c0db884ffbea27f43bdcff5bfd1876ad1 (patch)
tree152d1e208533261ae8b351cfd9b18b89792008ee /searx/templates/courgette
parent20c4de8f06cd7f4b04ec37bf8aa28f96be48c093 (diff)
downloadsearxng-2f9a386c0db884ffbea27f43bdcff5bfd1876ad1.tar.gz
searxng-2f9a386c0db884ffbea27f43bdcff5bfd1876ad1.zip
[enh] better result template handling
Diffstat (limited to 'searx/templates/courgette')
-rw-r--r--searx/templates/courgette/results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/courgette/results.html b/searx/templates/courgette/results.html
index 62bef8c90..8b5135c02 100644
--- a/searx/templates/courgette/results.html
+++ b/searx/templates/courgette/results.html
@@ -43,7 +43,7 @@
{% for result in results %}
{% if result['template'] %}
- {% include 'courgette/result_templates/'+result['template'] %}
+ {% include get_result_template('courgette', result['template']) %}
{% else %}
{% include 'courgette/result_templates/default.html' %}
{% endif %}