summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-08 01:19:05 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-08 01:19:05 +0100
commit0b98f71ff08947165076c5d2a227a76c48237209 (patch)
tree3bb9a11eda0fbad95dbd98e50c531fed94a0e5b3 /searx
parent977972a8ec49cd067b4670c1acdc03b1642aefb3 (diff)
downloadsearxng-0b98f71ff08947165076c5d2a227a76c48237209.tar.gz
searxng-0b98f71ff08947165076c5d2a227a76c48237209.zip
HTML corrections
Add alt on favicons Use right format for datetime Remove pubdate tag
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/oscar/result_templates/map.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html
index 531146dc6..343e713c8 100644
--- a/searx/templates/oscar/result_templates/map.html
+++ b/searx/templates/oscar/result_templates/map.html
@@ -1,8 +1,8 @@
{% from 'oscar/macros.html' import icon %}
-<h4 class="result_header">{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h4>
+<h4 class="result_header">{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" alt="{{ result['favicon'] }}" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h4>
-{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.publishedDate }}" pubdate>{{ result.publishedDate }}</time>{% endif %}
+{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
<small><a class="text-info" href="https://web.archive.org/web/{{ result.pretty_url }}">{{ icon('link') }} {{ _('cached') }}</a></small>