-
Notifications
You must be signed in to change notification settings - Fork 8
/
meetups.html
55 lines (52 loc) · 2.03 KB
/
meetups.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
---
layout: page
title: Meetups
caption: Join us
subtitle: Come join one of our upcoming meetups!
icon: direction
background: "#4054B2"
permalink: /meetups/
navigation: visible
---
<h2>Upcoming Meetups</h2>
<div class="meetups">
{% assign curDate = site.time | date: '%s' %}
{% for post in site.categories.meetup %}
{% assign postStartDate = post.date | date: '%s' %}
{% if postStartDate > curDate %}
<a class="post-link white-box" href="{{ post.url | prepend: site.baseurl }}">
<div class="preview" style="background:{{ post.background }}">
<div class="date">
<small>{{ post.date | date: "%b" }}</small>
{{ post.date | date: "%-d" }}
</div>
</div>
<h3>{{ post.title }}</h3>
<p>{{ post.date | date: "%H:%M" }} at {{ post.address }}</p>
</a>
<br>
{% endif %}
{% endfor %}
</div>
<br>
<h2>Recent Meetups</h2>
<div class="meetups">
{% assign curDate = site.time | date: '%s' %}
{% for post in site.categories.meetup %}
{% assign postStartDate = post.date | date: '%s' %}
{% if curDate > postStartDate %}
<a class="post-link white-box" href="{{ post.url | prepend: site.baseurl }}">
<div class="preview" style="background:{{ post.background }}">
<div class="date">
<small>{{ post.date | date: "%b" }}</small>
{{ post.date | date: "%-d" }}
</div>
</div>
<h3>{{ post.title }}</h3>
<p>{{ post.date | date: "%H:%M" }} at {{ post.address }}</p>
</a>
<br>
{% endif %}
{% endfor %}
</div>
<p>For the debugging purposes, this site was last built at {{ site.time | date: '%s' }} UNIX time.</p>