diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-08 01:19:05 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-08 01:19:05 +0100 |
commit | 0b98f71ff08947165076c5d2a227a76c48237209 (patch) | |
tree | 3bb9a11eda0fbad95dbd98e50c531fed94a0e5b3 /searx | |
parent | 977972a8ec49cd067b4670c1acdc03b1642aefb3 (diff) | |
download | searxng-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.html | 4 |
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>
|