You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.1 KiB
HTML

---
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: [alum]
width: 6
image: true
- roles: [collab]
width: 6
image: true
- - roles: [visitandresearch]
width: 6
image: false
- roles: [grad-undergrad-projects]
width: 6
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&hellip;</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>