summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-06-29 20:13:05 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-07-02 16:51:25 +0200
commit7f30ac37e918279f0030069d251b1bacc0266090 (patch)
treedf1c84149e439c9d94506bb222ffb6dcff776883 /searx/templates
parent69a6d994e1a471eb35a8adb7d75c753ca7dc3704 (diff)
downloadsearxng-7f30ac37e918279f0030069d251b1bacc0266090.tar.gz
searxng-7f30ac37e918279f0030069d251b1bacc0266090.zip
map.html: display the intended text for the links instead of the URL
For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/result_templates/map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html
index e1223cbc0..3bdc378d6 100644
--- a/searx/templates/simple/result_templates/map.html
+++ b/searx/templates/simple/result_templates/map.html
@@ -35,7 +35,7 @@
<tr><th scope="row">{{ info.label }}</th><td>{{ info.value|safe }}</td></tr>
{%- endfor -%}
{%- for link in result.links -%}
- <tr><th scope="row">{{ link.label }}</th><td><a class="text-info cursor-pointer" href="{{ link.url }}">{{ link.url|safe }}</a></td></tr>
+ <tr><th scope="row">{{ link.label }}</th><td><a class="text-info cursor-pointer" href="{{ link.url }}">{{ link.url_label|safe }}</a></td></tr>
{%- endfor -%}
</table>