forked from Ponysearch/Ponysearch
400b54191c
Conflicts: searx/engines/searchcode_code.py searx/engines/searchcode_doc.py searx/static/oscar/js/searx.min.js searx/templates/oscar/result_templates/default.html searx/templates/oscar/result_templates/images.html searx/templates/oscar/result_templates/map.html searx/templates/oscar/result_templates/torrent.html searx/templates/oscar/result_templates/videos.html
12 lines
517 B
HTML
12 lines
517 B
HTML
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
|
|
|
|
{{ result_header(result, favicons) }}
|
|
{{ 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) }}
|