forked from workflowscommunity/workflowscommunity.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage_events.html
45 lines (43 loc) · 1.74 KB
/
page_events.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
---
layout: default
title: Workflow-Related Events
permalink: /events
---
<article class="post">
<header>
<div class="title">
<h2>{{ page.title }}</h2>
<p>
Collection of conferences, workshops, meetings, etc. relevant to the workflows community suitable for workflows research
</p>
<a href="/events/add" class="corner-button" style="background-color: #8CCA60;"><i class="fas fa-plus"></i> Add New</a>
</div>
</header>
<div class="row">
{% assign events = site.data.events | sort: 'date' %}
{% capture nowunix %}{{'now' | date: '%Y-%m-%d' | date: '%s'}}{% endcapture %}
{% for event in events %}
{% capture eventtime %}{{event.date | date: '%s'}}{% endcapture %}
{% if eventtime >= nowunix %}
<div class="col-sm-12 col-md-12">
<a href="{{event.url}}" class="event" target="_blank">
<div class="event-date">
<span class="header">{{event.date | date: "%b %d" }}</span><br />
<span class="subheader">{{event.date | date: "%Y" }}</span>
</div>
<div class="event-content">
<strong>{{event.series}}</strong>: {{event.name}}<br />
<span class="location">{{event.location}}</span><br />
{% if event.deadlines %}
{% for d in event.deadlines %}
<span class="deadlines">{{d.name}}: <strong>{{d.date | date: "%b %d, %Y"}}</strong> </span>
{% endfor %}
{% endif %}
</div>
</a>
</div>
{% endif %}
{% endfor %}
</div>
<br />
</article>