Skip to content

Commit 34d3284

Browse files
committed
Enhance filter parsing in list.html and update member profiles for clarity
1 parent 5bedc61 commit 34d3284

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

_includes/list.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
1+
{%- comment -%}
2+
CUSTOMIZATION: Improved filter parsing
3+
- If the include uses `filters` (comma-separated clauses like "role: phd, group: alum"),
4+
this file will parse them and apply chained `where` filters so multiple conditions
5+
are ANDed.
6+
- Keep this file local and merge upstream template changes manually if needed.
7+
- Author: automated patch
8+
{%- endcomment -%}
9+
110
{% assign emptyarray = "" | split: "," %}
211
{% assign data = site.data[include.data]
312
| default: site[include.data]
413
| default: emptyarray
514
| data_filter: include.filter
615
%}
716

17+
{% if include.filters %}
18+
{% assign clauses = include.filters | split: ',' %}
19+
{% for clause in clauses %}
20+
{% assign parts = clause | split: ':' %}
21+
{% assign key = parts[0] | strip %}
22+
{% assign value = parts[1] | strip %}
23+
{% if key != "" and value != "" %}
24+
{% assign data = data | where: key, value %}
25+
{% endif %}
26+
{% endfor %}
27+
{% endif %}
28+
829
{% assign years = data
930
| group_by_exp: "d", "d.date | date: '%Y'"
1031
| sort: "name"

_members/kya-masoumi.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
name: Kya Masoumi
32
image: images/team/Kya_Masoumi.jpg
43
description: Independent Research
@@ -10,6 +9,5 @@ aliases:
109
- Kya Masoumi
1110
links:
1211
email: Ky743437@dal.ca
13-
---
1412

1513
Kya is a recent Dalhousie University graduate with a BSc in Psychology and a minor in Computer Science. He is passionate about neurotechnology and the advancement of brain-computer interfaces, particularly their potential to enhance everyday life. Kya recently worked as a research assistant on Dr. Colin Conrad’s Political AI Study, using electroencephalography (EEG) to explore how the brain responds to AI-generated images versus real ones. Outside of the lab, Kya is becoming a tech guru at a local repair shop and enjoys fishing, DIY projects, gaming, hanging out with his beagle, and spending time with friends.

_members/laura-earl.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ aliases:
1010
- Laura Earl
1111
links:
1212
email: lr618882@dal.ca
13-
---
1413

1514
Laura is from Novar Ontario and is a third year undergraduate student studying Neuroscience at Dalhousie University. She is completing her independent research project under the supervision of Dr. Aaron Newman. She is part of the BCI team and is looking at the effect of stimulus hybridization on EEG signals and BCI performance. In her free time Laura enjoys reading, road trips and baking.

_members/max-mascini.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ aliases:
1010
- Max Mascini
1111
links:
1212
email: Mascini.max@dal.ca
13-
---
1413

1514
Max recently graduated with a Bachelors of Science in Neuroscience. Max is very interested in how modern technologies can be adapted to the brain and how that bridge can be used to improve people’s everyday lives. This year, Max is helping work on various research projects around the lab. In his spare time, Max loves being outdoors in nature, and when he is not hiking or biking, likes to spend time with friends and play video games.

0 commit comments

Comments
 (0)