2020-03-13 19:35:03 +00:00
|
|
|
{% if events %}
|
|
|
|
<div id="events" class="bg-light my-0">
|
|
|
|
<div class="container py-5">
|
|
|
|
{% if events|length == 1 %}
|
|
|
|
{% set event = events[0] %}
|
|
|
|
<h2>Upcoming Event</h2>
|
|
|
|
<p class="lead">
|
2020-03-30 08:25:29 +00:00
|
|
|
<a class="text-reset" rel="external nofollow noreferrer" target="_blank"
|
2020-03-13 19:35:03 +00:00
|
|
|
href="{{ event.signup_link }}">
|
|
|
|
<span class="text-orange">{{ event.event_date }}</span>
|
|
|
|
{{ event.event_name }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<h2>Upcoming Events</h2>
|
|
|
|
<ul class="lead list-unstyled">
|
|
|
|
{% for event in events %}
|
|
|
|
<li>
|
2020-03-30 08:25:29 +00:00
|
|
|
<a class="text-reset" rel="external nofollow noreferrer" target="_blank"
|
2020-03-13 19:35:03 +00:00
|
|
|
href="{{ event.signup_link }}">
|
|
|
|
<span class="text-orange">{{ event.event_date }}</span>
|
|
|
|
{{ event.event_name }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|