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>
|
<td>
|
||||||
{% if event.urls %}
|
{% if event.urls %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for key, link in event.urls %}
|
{% for key, link in event.urls if link %}
|
||||||
<li>
|
<li>
|
||||||
<a class="text-sm" href="{{ link }}" title="{% spaceless %}
|
<a class="text-sm" href="{{ link }}" title="{% spaceless %}
|
||||||
{{ key == 'code' ? 'View the example code from %s.'|format(event.name) }}
|
{{ key == 'code' ? 'View the example code from %s.'|format(event.name) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue