1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40: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> <tr><th scope="row">{{ info.label }}</th><td>{{ info.value|safe }}</td></tr>
{%- endfor -%} {%- endfor -%}
{%- for link in result.links -%} {%- 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 -%} {%- endfor -%}
</table> </table>