Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
73 lines (66 sloc)
2.43 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
title: Events | |
--- | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<h1>Events</h1> | |
<h3>Recurring Meeting</h3> | |
<p class="center"> | |
Join us for a recurring meeting every first Wednesday of the month. You | |
can find more information on <a href="/events/monthly-online-meeting/">our Event listing</a>. | |
</p> | |
{% assign posts = site.events | where: "status", "upcoming" %} | |
{% if posts != empty %} | |
<h3>Upcoming events</h3> | |
<ul class="post-list"> | |
{% for post in posts reversed %} | |
<li> | |
<h2> | |
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> | |
</h2> | |
{{ post.excerpt }} | |
<ul class="location"> | |
{% if post.eventDate %} | |
<li> | |
<strong>Date:</strong> {{ post.eventDate }} | |
</li> | |
{% endif %} | |
{% if post.time %} | |
<li> | |
<strong>Time:</strong> {{ post.time }} | |
</li> | |
{% endif %} | |
{% if post.location %} | |
<li> | |
<strong>Location:</strong> {{ post.location }} | |
</li> | |
{% endif %} | |
</ul> | |
</li> | |
{% endfor %} | |
</ul> | |
{% else %} | |
<h3>There are no upcoming events</h3> | |
<p>To add an event, <a href="https://github.com/opensourcedesign/opensourcedesign.github.io" target="_blank">fork our repository and send a pull request!</a></p> | |
{% endif %} | |
{% assign pastEvents = site.events | where: "status", "past" %} | |
{% if pastEvents %} | |
<h3 id="past-events" class="past-events">Past events</h3> | |
<ul class="post-list"> | |
{% for post in pastEvents reversed %} | |
<li> | |
<h2> | |
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> | |
</h2> | |
{{ post.excerpt }} | |
</li> | |
{% endfor %} | |
</ul> | |
{% endif %} | |
<p>To add an event, <a href="https://github.com/opensourcedesign/opensourcedesign.github.io" target="_blank">fork us and send a pull request!</a></p> | |
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p> | |
</div> | |
</div> | |
</div> |