diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-05-04 09:57:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 11:57:14 +0200 |
commit | 5253df946b8eb45903ed6ea7e724ec6b5000b2cf (patch) | |
tree | 84ac8d415555d052b61be985ab8f7ebc0d5b93d4 /searx/templates/simple/macros.html | |
parent | b646050f6e47eed52a2b1564427ae199a0c92341 (diff) | |
download | searxng-5253df946b8eb45903ed6ea7e724ec6b5000b2cf.tar.gz searxng-5253df946b8eb45903ed6ea7e724ec6b5000b2cf.zip |
[mod] option to enable or disable "proxy" button next to each result (#54)
* [mod] option to enable or disable "proxy" button next to each result
Closes: https://github.com/searxng/searxng/issues/51
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Co-authored-by: Alexandre Flament <alex@al-f.net>
Diffstat (limited to 'searx/templates/simple/macros.html')
-rw-r--r-- | searx/templates/simple/macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 7d456b350..4368ecb85 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -41,7 +41,7 @@ <!-- Draw result sub footer --> {%- macro result_sub_footer(result, proxify) -%} <div class="engines">{% for engine in result.engines %}<span>{{ engine }}</span>{% endfor %}</div>{{- '' -}} -<p class="url"><span class="url">{{ result.pretty_url }}</span>{{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "cache_link") }}‎ {% if proxify %} {{ result_link(proxify(result.url), icon('link') + _('proxied'), "proxyfied_link") }} {% endif %}</p>{{- '' -}} +<p class="url"><span class="url">{{ result.pretty_url }}</span>{{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "cache_link") }}‎ {% if proxify and proxify_results %} {{ result_link(proxify(result.url), icon('link') + _('proxied'), "proxyfied_link") }} {% endif %}</p>{{- '' -}} <div class="break"></div>{{- '' -}} {%- endmacro -%} |