forked from zerostaticthemes/jekyll-serif-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
93 lines (88 loc) · 3.5 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
title: BDSI - Behavioural Data Science Incubator
layout: default
bodyClass: page-home
---
<!-- <div
class="intro pb-6"
style="height: 20vw; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); background-position: -10% center; background-size: cover;"
></div> -->
<!-- <div id="event-cta">
<div class="container">
<div class="labels">
<div class="title">Data Science Week</div>
<div class="subtitle">
Join the 4th BDSi Data Science Week March 6th-13th, packed
full of workshops, seminars and friendly competition.
</div>
<div style="display: flex; gap: 1em">
<a
class="btn btn-outline-secondary font-weight-bold"
href="/data-science-week"
>
More information
</a>
<a
class="btn btn-secondary font-weight-bold"
href="https://www.utwente.nl/en/bms/research/bdsi/data-science-week-2023/"
>
Register now!
</a>
</div>
</div>
<div class="img-wrapper d-none d-lg-flex" style="pointer-events: none;">
<img
src="{% link /assets/images/data-science-week-2023-spring.svg %}"
alt="people at work"
/>
</div>
</div>
</div> -->
<div id="main-with-sidebar">
<div id="main">
{% include find-expertise.html %}
<h2 class="mt-6">Latest updates</h2>
<div class="row news-items">
{% capture currentDate %}{{- site.time | date: "%B %e, %Y" -}}{% endcapture %}
{% assign items = site.events | concat: site.news | concat: site.blogs | where: "frontpage", true | sort: "date" | reverse %}
{% for item in items limit:3 %}
<div class="col-12 col-md-4">{% include news-card.html %}</div>
{% endfor %}
</div>
<h2 class="mt-6">Our Services</h2>
<div class="row">
{% for service in site.services %}
<div class="col-12 col-md-6 mb-2">
<div class="service service-summary">
<div class="service-content">
<h4>
<a href="{{site.baseurl}}{{ service.url }}">{{ service.title }}</a>
</h4>
{{ service.introduction | markdownify }}
</div>
</div>
</div>
{% endfor %}
</div>
<a class="button center"
href="{% link about.html %}#services">
View All Services
</a>
</div>
<div id="sidebar">
{% capture renderDate %}{{- site.time | date: "%Y-%m-%d" -}}{% endcapture %}
{% assign events = site.data.calendar | concat: site.events | concat: site.data.bmslab_events | concat: site.data.dsi_events | concat: site.data.dcc_events %}
{% assign filtered_events = '' | split: '' %}
{% for event in events %}
{% capture startDate %}{{- event.date | date: "%Y-%m-%d" -}}{% endcapture %}
{% if startDate >= renderDate %}
{% assign filtered_events = filtered_events | push: event %}
{% endif %}
{% endfor %}
{% assign sorted_events = filtered_events | sort_natural: "date" %}
<div class="calendar">
<h3>Upcoming events</h3>
{% include calendar.html events=sorted_events %}
</div>
</div>
</div>