Skip to content

Commit

Permalink
changed the order of members
Browse files Browse the repository at this point in the history
  • Loading branch information
jyao97 committed Aug 11, 2024
1 parent 21e1593 commit cbbc148
Show file tree
Hide file tree
Showing 17 changed files with 55 additions and 52 deletions.
91 changes: 39 additions & 52 deletions _includes/list_students.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,58 +5,45 @@
| data_filter: include.filters
%}

{% assign years = data
| group_by_exp: "d", "d.date | date: '%Y'"
| sort: "name"
| reverse
%}

{% for year in years %}
{% assign data = year.items %}

{% if years.size > 1 %}
{{--}}<h3 id="{{ year.name }}">{{ year.name }}</h3>
{% assign data = data | sort: "date" | reverse %}
{% endif %}
{% assign sorted_data = data | sort: "order" %}

{% for d in data %}
{% assign style = d.style | default: include.style %}
{% for d in sorted_data %}
{% assign style = d.style | default: include.style %}

{%
include {{ include.component | append: ".html" }}
display_1=d.display_1
display_2=d.display_2
display_3=d.display_3
affiliation=d.affiliation
author=d.author
authors=d.authors
buttons=d.buttons
caption=d.caption
content=d.content
date=d.date
description=d.description
excerpt=d.excerpt
height=d.height
icon=d.icon
id=d.id
image=d.image
last_modified_at=d.last_modified_at
link=d.link
lookup=d.lookup
name=d.name
publisher=d.publisher
repo=d.repo
role=d.role
slug=d.slug
style=style
subtitle=d.subtitle
tags=d.tags
text=d.text
title=d.title
tooltip=d.tooltip
type=d.type
url=d.url
width=d.width
%}
{% endfor %}
{%
include {{ include.component | append: ".html" }}
display_1=d.display_1
display_2=d.display_2
display_3=d.display_3
affiliation=d.affiliation
author=d.author
authors=d.authors
buttons=d.buttons
caption=d.caption
content=d.content
date=d.date
description=d.description
excerpt=d.excerpt
height=d.height
icon=d.icon
id=d.id
image=d.image
last_modified_at=d.last_modified_at
link=d.link
lookup=d.lookup
name=d.name
publisher=d.publisher
repo=d.repo
role=d.role
slug=d.slug
style=style
subtitle=d.subtitle
tags=d.tags
text=d.text
title=d.title
tooltip=d.tooltip
type=d.type
url=d.url
width=d.width
%}
{% endfor %}
1 change: 1 addition & 0 deletions _members/albert-dang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Albert Dang
image: people_photos/albert_dang.png
role: grad
affiliation: UC Riverside
order: 113
aliases:
- A. Dang
- A Dang
Expand Down
1 change: 1 addition & 0 deletions _members/anirudh_nittur_venkatesh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Anirudh Nittur Venkatesh
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 101
# aliases:
# - Z. Li
# - Z Li
Expand Down
1 change: 1 addition & 0 deletions _members/etha_ortega.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Ethan Ortega
image: people_photos/default.png
role: under
affiliation: UC Riverside
order: 331
# aliases:
# - Y. Xia
# - Y Xia
Expand Down
1 change: 1 addition & 0 deletions _members/fnu-heman.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Fnu Heman
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 102
# aliases:
# - A. Dang
# - A Dang
Expand Down
1 change: 1 addition & 0 deletions _members/jianpeng-yao.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Jianpeng Yao
image: people_photos/jianpengyao.png
role: grad
affiliation: UC Riverside
order: 001
aliases:
- J. Yao
- J Yao
Expand Down
1 change: 1 addition & 0 deletions _members/junge-zhang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Junge Zhang
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 003
aliases:
- J. Zhang
- J Zhang
Expand Down
1 change: 1 addition & 0 deletions _members/justin-yue.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Justin Yue
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 003
aliases:
- J. Yue
- J Yue
Expand Down
1 change: 1 addition & 0 deletions _members/kanghoon_lee.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Kanghoon Lee
image: people_photos/default.png
role: visiting
affiliation: KAIST
order: 041
# aliases:
# - Y. Xia
# - Y Xia
Expand Down
1 change: 1 addition & 0 deletions _members/mingxuan-yan.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Mingxuan Yan
image: people_photos/mingxuanyan.jpg
role: grad
affiliation: UC Riverside
order: 003
aliases:
- M. Yan
- M Yan
Expand Down
1 change: 1 addition & 0 deletions _members/moustafa_soliman.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Moustafa Soliman
image: people_photos/default.png
role: under
affiliation: UC Riverside
order: 030
# aliases:
# - Y. Xia
# - Y Xia
Expand Down
1 change: 1 addition & 0 deletions _members/nate_matora.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Nate Matora
image: people_photos/default.png
role: under
affiliation: UC Riverside
order: 032
# aliases:
# - Y. Xia
# - Y Xia
Expand Down
1 change: 1 addition & 0 deletions _members/xiaopan-zhang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Xiaopan Zhang
image: people_photos/xiaopanzhang.jpg
role: grad
affiliation: UC Riverside
order: 001
aliases:
- X. Zhang
- X Zhang
Expand Down
1 change: 1 addition & 0 deletions _members/yu_xia.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Yu Xia
image: people_photos/yuxia.jpg
role: grad
affiliation: UC Riverside
order: 112
aliases:
- Y. Xia
- Y Xia
Expand Down
1 change: 1 addition & 0 deletions _members/zehao-wang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Zehao Wang
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 002
aliases:
- Z. Wang
- Z Wang
Expand Down
1 change: 1 addition & 0 deletions _members/zhifeng-wu.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Zhifeng Wu
image: people_photos/zhifengwu.jpg
role: grad
affiliation: UC Riverside
order: 123
aliases:
- Z. Wu
- Z Wu
Expand Down
1 change: 1 addition & 0 deletions _members/zhixu-li.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Zhixu Li
image: people_photos/default.png
role: grad
affiliation: UC Riverside
order: 000
aliases:
- Z. Li
- Z Li
Expand Down

0 comments on commit cbbc148

Please sign in to comment.