forked from opensearch-project/project-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (34 loc) · 1.28 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
---
layout: default
title: Upcoming Events
primary_title: Events
body_class: events-page
notice: true
---
{% assign now = site.time | date_to_xmlschema %}
{% assign future_events = site.events | where_exp: "event","event.eventdate > now" %}
{% assign primary_title = site.headings.events %}
{% assign layout_class = 'sidebar-right events-page' %}
{% capture content %}
<h2>Upcoming</h2>
<ul class="list-events">
{% assign sorted_events = future_events | sort: "eventdate" %}
{% for event in sorted_events %}
{% include event.html %}
{% endfor %}
</ul>
{%endcapture%}
{% capture content_related %}
<div role="complementary">
<div class="add-your-own-event">
<h3>Hosting an OpenSearch event?</h3>
<p>Add it so the community knows! Write <a href="https://github.com/opensearch-project/project-website/blob/main/_events/_sample.markdown">some yaml / markdown</a>, do <a href="https://github.com/opensearch-project/project-website/tree/main/_events">pull-request on the events directory</a> and we'll merge qualifying events.</p>
</div>
<div class="past-events">
<h3>Looking for a past event?</h3>
<p>Take a look at the <a href="/events/past.html">past events page</a>.</p>
</div>
</div>
{% endcapture %}
{% include copy_banner.html %}
{% include base_3col.html %}