Don't display empty links
This commit is contained in:
parent
6fa9b4fe21
commit
5874c5defa
1 changed files with 1 additions and 1 deletions
|
@ -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) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue