From 83d6f366596829f2140f84c73b684bd7f783e93c Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Thu, 18 Dec 2014 16:26:32 +0100 Subject: Final commit on favicons Definitely remove engine array Change every themes to accomodate that change Tweak of video template of oscar to add link on video thumbnail --- searx/templates/courgette/result_templates/default.html | 4 ++-- searx/templates/courgette/result_templates/map.html | 4 ++-- searx/templates/courgette/result_templates/videos.html | 8 +++----- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'searx/templates/courgette') diff --git a/searx/templates/courgette/result_templates/default.html b/searx/templates/courgette/result_templates/default.html index 734f9066c..3e93eee73 100644 --- a/searx/templates/courgette/result_templates/default.html +++ b/searx/templates/courgette/result_templates/default.html @@ -1,7 +1,7 @@
- {% if result['favicon'] %} - + {% if "icon_"~result.engine~".ico" in favicons %} + {{result.engine}} {% endif %}
diff --git a/searx/templates/courgette/result_templates/map.html b/searx/templates/courgette/result_templates/map.html index 734f9066c..3e93eee73 100644 --- a/searx/templates/courgette/result_templates/map.html +++ b/searx/templates/courgette/result_templates/map.html @@ -1,7 +1,7 @@
- {% if result['favicon'] %} - + {% if "icon_"~result.engine~".ico" in favicons %} + {{result.engine}} {% endif %}
diff --git a/searx/templates/courgette/result_templates/videos.html b/searx/templates/courgette/result_templates/videos.html index 8ceb0b180..2694a9101 100644 --- a/searx/templates/courgette/result_templates/videos.html +++ b/searx/templates/courgette/result_templates/videos.html @@ -1,12 +1,10 @@
- {% if result['favicon'] %} - + {% if "icon_"~result.engine~".ico" in favicons %} + {{result.engine}} {% endif %} -

{{ result.title|safe }}

{% if result.publishedDate %}

{{ result.publishedDate }}

{% endif %} -  {{ result.title }} + {{ result.title|striptags }}

{{ result.url }}

-

-- cgit v1.2.3