mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
13 lines
507 B
HTML
13 lines
507 B
HTML
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
|
|
|
|
{{ result_header(result) }}
|
|
{{ result_sub_header(result) }}
|
|
|
|
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
|
|
|
|
{% if result.repository %}<p class="result-content">{{ icon('file') }} <a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
|
|
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
|
|
|
{{ result_footer(result) }}
|