mirror of
https://github.com/searxng/searxng.git
synced 2024-11-09 14:40:11 +01:00
12 lines
989 B
HTML
12 lines
989 B
HTML
<div class="result {{ result.class }}{% for e in result.engines %} {{ e }}{% endfor %}">
|
|
<h3 class="result_title"><a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3>
|
|
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
|
|
<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>
|
|
{% 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 %}
|
|
<div dir="ltr">
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
|
</div>
|
|
|
|
<p class="url">{{ result.pretty_url }}‎</p>
|
|
</div>
|