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
dependabot/pip/master/sphinx-6.1.3
Alexandre Flament 2 years ago committed by Markus Heiser
parent 69a6d994e1
commit 7f30ac37e9

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

Loading…
Cancel
Save