2014-12-20 22:33:03 +00:00
|
|
|
<div class="result {{ result.class }}">
|
2016-09-04 13:56:46 +00: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>
|
2015-01-15 23:56:54 +00:00
|
|
|
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
|
2015-01-18 08:54:24 +00: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 13:56:46 +00:00
|
|
|
{% if result.repository %}<p class="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 00:03:18 +00:00
|
|
|
<div dir="ltr">
|
2014-12-20 22:33:03 +00:00
|
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
2015-02-13 00:03:18 +00:00
|
|
|
</div>
|
2015-01-15 23:56:54 +00:00
|
|
|
|
2015-02-13 00:03:18 +00:00
|
|
|
<p class="url">{{ result.pretty_url }}‎</p>
|
2015-01-18 08:54:24 +00:00
|
|
|
</div>
|