1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

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
This commit is contained in:
Alexandre Flament 2022-06-29 20:13:05 +02:00 committed by Markus Heiser
parent 69a6d994e1
commit 7f30ac37e9

View File

@ -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>