This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
76 lines (65 loc) · 2.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
layout: default
---
<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/open-source-design-monthly-online-meeting/">our Event listing</a>.
</p>
{% assign posts = site.posts | 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/events" target="_blank">fork and send a pull request</a></p>
{% endif %}
{% assign pastEvents = site.posts | where: "status", "past" %}
{% if pastEvents %}
<h3 id="past-events" class="past-events">Past events</h3>
<ul class="post-list">
{% for post in pastEvents %}
<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/events" target="_blank">fork 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>