Skip to content

Commit

Permalink
Handle a blank URL
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaskorhonen authored Oct 22, 2024
1 parent ea322c8 commit 04e34ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ It's up to the participants to pick the next city where the conference will be h
{% for event in events_by_date %}
<tr>
<td>
<a href="{{ event.url }}">{{ event.start_date | date: '%Y' }}</a>
{% if event.url %}
<a href="{{ event.url }}">{{ event.start_date | date: '%Y' }}</a>
{% else %}
{{ event.start_date | date: '%Y' }}
{% endif %}
</td>
<td>
{{ event.location }}
Expand Down

0 comments on commit 04e34ba

Please sign in to comment.