Back to Searxng

Code

searx/templates/simple/result_templates/code.html

latest627 B
Original Source

{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer with context %} {{ result_header(result, favicons, image_proxify) -}} {{- result_sub_header(result) -}} {%- if result.content -%}

{{- result.content|safe -}}

{%- endif -%} {%- if result.repository -%}

{{- '' -}} {{ _('Repository') }}: {{- ' ' -}} {{- result.repository -}}{{- '' -}}

{%- endif -%} {%- if result.filename %}

{{ _('Filename') }}: {{ result.filename }}

{% endif -%} {{- result.HTML()|safe -}} {{- result_sub_footer(result) -}} {{- result_footer(result) -}}