-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (69 loc) · 2.04 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
---
layout: default
title: Home
notitle: true
# groups of columns of {roles: list, width: num, image: bool}
role-tables:
- - roles: [faculty, postdoc, staff]
width: 4
image: true
- roles: [grad]
width: 8
image: true
- - roles: [collab, ugrad, ugrad-alum]
width: 5
image: false
- roles: [alum]
width: 7
image: false
---
<div class="jumbotron">
<p>
The <b>Awesome Research Group</b> at <b>Example U</b> does all sorts of
research. Here is a place where we tell you exactly what that is!
</p>
</div>
<section>
<h2>News</h2>
<ul class="news list-unstyled">
{% for post in site.posts limit: site.front_page_news %}
{% include news-item.html item=post %}
{% endfor %}
</ul>
{% assign numposts = site.posts | size %}
{% if numposts >= 1 %}
<p>
<span class="fa fa-fw fa-history"></span>
<a href="{{ site.base }}/blog.html">Older posts…</a>
</p>
{% endif %}
</section>
<section>
<h2>Research</h2>
<div class="card-columns">
{% comment %}
Sort the projects by date, putting those without dates last
{% endcomment %}
{% assign projects_by_date = site.projects | sort: 'last-updated', 'first' %}
{% assign projects_by_date = projects_by_date | reverse %}
{% for p in projects_by_date %}
{% if p.status != "inactive" %}
{% include project-card.html project=p %}
{% endif %}
{% endfor %}
</div>
</section>
<div id="people">
<h2>People</h2>
{% for role-table in page.role-tables %}
<section class="people row justify-content-between">
{% for role-column in role-table %}
<div class="col-md-{{ role-column.width }}">
{% for role in role-column.roles %}
{% include role-people.html role=role image=role-column.image %}
{% endfor %}
</div>
{% endfor %}
</section>
{% endfor %}
</div>