mirror of
https://github.com/searxng/searxng.git
synced 2024-12-26 03:00:28 +00:00
1d51512152
Create hash only when necessary
10 lines
666 B
HTML
10 lines
666 B
HTML
<div class="result">
|
|
{% if "icon_"~result.engine~".ico" in favicons %}
|
|
<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
|
|
{% endif %}
|
|
|
|
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
|
|
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span><br />{% endif %}
|
|
<a href="{{ result.url }}"><img width="400" src="{{ image_proxify(result.thumbnail) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a>
|
|
<p class="url">{{ result.pretty_url }}</p>
|
|
</div>
|