-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
39 lines (33 loc) · 1.54 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
---
layout: archive
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: https://images.unsplash.com/photo-1524048824421-51d2958dc634?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=4645827bb130e3e6a8dadc77ea492f33&auto=format&fit=crop&w=1350&q=80
cta_label: "Add Your Event"
cta_url: "/add"
caption: "Photo credit: [**Daniele Riggi/Unsplash**](https://unsplash.com/photos/Gj2hPerFB_0)"
excerpt: "A directory of Ethereum Community Events worldwide."
---
<div class="notice--success"><p>This is a collaborative site! Get involved by <a href="https://github.com/spadebuilders/ethereum-events">submitting changes & suggestions</a> in the github repo <code>spadebuilders/ethereum-events</code></p>
<p><a href="https://twitter.com/bmann">Tweet at @bmann</a> with feedback!</div>
<h1>{{ site.data.ui-text[site.locale].upcoming_events | default: "Upcoming Events" }}</h3>
{% assign upcoming = site.events | sort: "event.start_date" %}
{% assign buildtime = "now" | date: '%s' %}
{% for post in upcoming %}
{% assign startdate = post.event.start_date | date: '%s' %}
{% if startdate > buildtime %}
{% include event-single.html %}
{% endif %}
{% endfor %}
<div><a class="btn btn--primary btn--success" href="/events">View past events</a></div>
{% comment %}
<!-- Leaving this out for now: needs better display of changes -->
<!--
<h3 class="archive__subtitle">Recently Updated Events</h3>
{% assign updated = site.events | sort: "last_modified_at" %}
{% for post in updated limit: 3 %}
{% include event-single.html %}
{% endfor %}
-->
{% endcomment %}