forked from zerostaticthemes/jekyll-serif-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathevents.html
58 lines (53 loc) · 1.79 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: BDSi - Behavioural Data Science incubator - Events
layout: default
bodyClass: page-list
---
<div class="container py-6">
<h1 class="hero text-white">Events</h1>
<h4 class="text-white">Workshops, Seminars, and other events</h4>
</div>
<div class="strip strip-diagonal">
<div class="container">
<div id="upcoming">
<h2>Upcoming events</h2>
</div>
<div id="completed">
<h2 class="mt-8">Past events</h2>
</div>
<h2 style="display: none">debug</h2>
{% for event in site.events %}
<!-- prettier-ignore -->
<div
class="event mb-5"
{% if event.date %}data-start="{{event.date}}" {% endif %}
{% if event.endDate %}data-end="{{event.endDate}}" {% endif %}
{% if event.time %}data-time="{{event.time}}" {% endif %}
data-title="{{event.title}}"
data-path="{{event.path}}"
>
<div class="row">
<div class="col-8">
<h4>
<a href="{{site.baseurl}}{{ event.url }}">{{ event.title }}</a>
</h4>
<div class="authors">
{% include author-list.html authors=event.authors page=event
header="h6" %}
</div>
{% if event.introduction %} {{ event.introduction }} {% else %} {{
event.content | markdownify | strip_html | truncate: 250 }} {% endif
%}
</div>
<div class="col-4">
<h6 class="date mt-1"></h6>
{% include tags-list.html page=event %}
</div>
</div>
</div>
{% endfor %}
<script src="https://unpkg.com/[email protected]/dayjs.min.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/advancedFormat.js"></script>
<script src="{% link assets/js/pages/events.js %}"></script>
</div>
</div>