diff options
| author | Paul Braeuning <paul@paulgo.io> | 2022-05-03 18:47:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-03 18:47:35 +0200 |
| commit | 31521f3a465fa2beb7e3fd7ed47621262a28f554 (patch) | |
| tree | a9a896b08d98b0ddcaf65b2159c34326c77bf80b /searx/templates/oscar/result_templates/code.html | |
| parent | 8a79eb4d7b0265afc200ecf6c1d729274a065b18 (diff) | |
| parent | c3bb6c7059388308aa9843943ce2491856ef1596 (diff) | |
Merge pull request #1153 from return42/drop-oscar
[theme] peel out oscar from SearXNG development
Diffstat (limited to 'searx/templates/oscar/result_templates/code.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/code.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/searx/templates/oscar/result_templates/code.html b/searx/templates/oscar/result_templates/code.html deleted file mode 100644 index c7d93e2b3..000000000 --- a/searx/templates/oscar/result_templates/code.html +++ /dev/null @@ -1,18 +0,0 @@ -{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon with context%} - -{{ 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 }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} aria-labelledby="result-{{loop.index}}">{{ result.repository }}</a></p>{% endif %} - -<div dir="ltr"> -{{ result.codelines|code_highlighter(result.code_language)|safe }} -</div> - -{% if rtl %} -{{ result_footer_rtl(result) }} -{% else %} -{{ result_footer(result) }} -{% endif %} |