Don't display empty links

This commit is contained in:
Oliver Davies 2025-09-05 10:55:01 +01:00
parent 6fa9b4fe21
commit 5874c5defa

View file

@ -23,7 +23,7 @@
<td>
{% if event.urls %}
<ul>
{% for key, link in event.urls %}
{% for key, link in event.urls if link %}
<li>
<a class="text-sm" href="{{ link }}" title="{% spaceless %}
{{ key == 'code' ? 'View the example code from %s.'|format(event.name) }}