Skip to content
Snippets Groups Projects

Added SCC logo and events

+ 29
0
@@ -52,6 +52,35 @@
<a href="{{ 'news/' | relative_url }}" class="btn btn-outline-secondary">More HIFIS News</a>
</section>
</div>
<div class="frontpage-jumbotron">
<section>
<h1><i class="far fa-calendar-alt" aria-hidden="true"></i>&nbsp; Events</h1>
<div class="flex-content-wrapper">
{% assign sorted_events = site.events | sort: "start.date" %}
{% assign today = "now" | date: "%Y-%m-%d" %}
{% assign has_upcoming_events = false %}
{% for event in sorted_events %}
{% if event.start.date < today or
event.registration_period.to < today %}
{% continue %}
{% else %}
{% assign has_upcoming_events = true %}
{% endif %}
{% include frontpage/event-card.html
title = event.excerpt %}
{% endfor %}
{% if has_upcoming_events == false %}
<article class="list-entry">
<h1>
There are no upcoming events right now ... stay tuned.
</h1>
</article>
{% endif %}
</div>
</section>
</div>
<div class="transition-block">
{% include transition.html direction="top" %}
Loading