From 79b936963fb70f25e0255a0f96bcae27f2b7c5f3 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 8 Dec 2014 01:26:28 +0100 Subject: [PATCH] Bug + HTML corrections Add alt on favicon. Use correct datetime format Remove pubdate tag Use url instead of pretty_url for web.archive.org Add alt on video image --- searx/templates/oscar/result_templates/videos.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 0d6cf50aa..06275b86a 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -1,13 +1,13 @@ {% from 'oscar/macros.html' import icon %} -

{% if result['favicon'] %} {% endif %}{{ result.title|safe }}

+

{% if result['favicon'] %}{{ result['favicon'] }} {% endif %}{{ result.title|safe }}

-{% if result.publishedDate %}{% endif %} -{{ icon('link') }} {{ _('cached') }} +{% if result.publishedDate %}{% endif %} +{{ icon('link') }} {{ _('cached') }}
- + {{ result.title|urlencode }} {{ result['favicon'] }} {% if result.content %}

{{ result.content|safe }}

{% endif %}