2014-12-20 23:33:03 +01:00
|
|
|
<div class="result {{ result.class }}">
|
2016-09-04 15:56:46 +02:00
|
|
|
<h3 class="result_title"> {% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />{% endif %}<a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3>
|
|
|
|
<p class="url">{{ result.pretty_url }}‎ <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ _('cached') }}</a></p>
|
2014-12-20 23:33:03 +01:00
|
|
|
{% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
|
2015-01-18 09:54:24 +01:00
|
|
|
<p class="content">{% if result.img_src %}<img src="{{ image_proxify(result.img_src) }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p>
|
2016-09-04 15:56:46 +02:00
|
|
|
{% if result.repository %}<p class="result-content"><a href="{{ result.repository|safe }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.repository }}</a></p>{% endif %}
|
2015-02-13 01:03:18 +01:00
|
|
|
|
|
|
|
<div dir="ltr">
|
2014-12-20 23:33:03 +01:00
|
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
2015-02-13 01:03:18 +01:00
|
|
|
</div>
|
2014-12-20 23:33:03 +01:00
|
|
|
</div>
|