{% include top.html %} <body> {% include header.html %} <main> {% capture title-content %} {% include frontpage/title-content.html %} {% endcapture %} {%- include title_image.html content=title-content -%} <div class="frontpage-jumbotron"> <section> {% if page.notification.description and page.notification.title %} {% include frontpage/notification.html title=page.notification.title description=page.notification.description %} {% endif %} <h1>News</h1> <div class="flex-content-wrapper"> {% for post in site.posts limit:3 %} {% include frontpage/post-card.html post = post %} {% endfor %} </div> <a href="{{ 'blog/' | relative_url }}" class="btn btn-outline-secondary">More</a> </section> </div> <div class="frontpage-mission-jumbotron"> <section> <div class="info-col"> <div class="info-box"> <h3><i class="fas fa-user-plus" aria-hidden="true"></i> You & HIFIS</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="info-box"> <h3><i class="fas fa-atom" aria-hidden="true"></i> HIFIS Mission</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="info-box"> <h3><i class="fas fa-globe-europe" aria-hidden="true"></i> HIFIS International</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div class="info-box"> <h3><i class="fas fa-road" aria-hidden="true"></i> Now & tomorrow - The HIFIS Roadmap</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div> </section> </div> <div class="frontpage-jumbotron"> <section> <h1><i class="far fa-calendar-alt" aria-hidden="true"></i> 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> </section> </main> {% include footer.html %} </body> </html>