Skip to content

Commit 41916ef

Browse files
authored
Added the sections of active vs inactive projects
1 parent 1c3e92e commit 41916ef

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

research.html

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,37 @@
22
layout: default
33
title: Research Projects
44
---
5+
Our lab's research spans across various domains, ranging from hardware development to the creation of controllers utilizing Optimal Controls, learning-based controls, and safety-critical controls.
6+
The following projects serve as a testament to this diverse spectrum of work.
57

6-
<div class="card-columns">
7-
{% comment %}
8-
Sort the projects by date, putting those without dates last
9-
{% endcomment %}
10-
{% assign projects_by_date = site.projects | sort: 'last-updated', 'first' %}
11-
{% assign projects_by_date = projects_by_date | reverse %}
12-
{% for p in projects_by_date %}
13-
{% include project-card.html project=p %}
14-
{% endfor %}
15-
</div>
8+
<section>
9+
<h2>Active Projects</h2>
10+
<div class="card-columns">
11+
{% comment %}
12+
Sort the projects by date, putting those without dates last
13+
{% endcomment %}
14+
{% assign projects_by_date = site.projects | sort: 'last-updated', 'first' %}
15+
{% assign projects_by_date = projects_by_date | reverse %}
16+
{% for p in projects_by_date %}
17+
{% if p.status != "inactive" %}
18+
{% include project-card.html project=p %}
19+
{% endif %}
20+
{% endfor %}
21+
</div>
22+
</section>
23+
24+
<section>
25+
<h2>Completed Projects</h2>
26+
<div class="card-columns">
27+
{% comment %}
28+
Sort the projects by date, putting those without dates last
29+
{% endcomment %}
30+
{% assign projects_by_date = site.projects | sort: 'last-updated', 'first' %}
31+
{% assign projects_by_date = projects_by_date | reverse %}
32+
{% for p in projects_by_date %}
33+
{% if p.status = "inactive" %}
34+
{% include project-card.html project=p %}
35+
{% endif %}
36+
{% endfor %}
37+
</div>
38+
</section>

0 commit comments

Comments
 (0)