Skip to content

Commit cd3c349

Browse files
committed
fix: add ordering
1 parent 8f787f2 commit cd3c349

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

Diff for: content/authors/dongok/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ profile: false
99
# Highlight the author in author lists? (true/false)
1010
highlight_name: true
1111

12+
weight: 2025
1213
role: Master '25, ENKI WhiteHat
1314

1415
# Organizational groups that you belong to (for People widget)

Diff for: content/authors/hyungseok/index.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ title: HyungSeok Han
66
# superuser: true
77
profile: false
88

9-
role: Ph.D '23, Postdoc at Georgia Tech
9+
role: Ph.D '23, Samsung Research America
1010

1111
# Highlight the author in author lists? (true/false)
1212
highlight_name: true
13+
weight: 2023
1314

1415
# Organizational groups that you belong to (for People widget)
1516
# Set this to `[]` or comment out if you are not using People widget.

Diff for: content/authors/hyunsik/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ role: Master '21, Theori
1111

1212
# Highlight the author in author lists? (true/false)
1313
highlight_name: true
14+
weight: 2021
1415

1516
# Organizational groups that you belong to (for People widget)
1617
# Set this to `[]` or comment out if you are not using People widget.

Diff for: content/authors/wonyoung/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ title: Wonyoung Jung
77
profile: false
88

99
role: Master '24, 78ResearchLab
10+
weight: 2024
1011

1112
# Highlight the author in author lists? (true/false)
1213
highlight_name: true

Diff for: themes/wowchemy-hugo-modules/wowchemy/layouts/partials/widgets/people.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>{{ . | markdownify | emojify }}</h1>
2323
{{ end }}
2424

2525
{{ range $page.Params.content.user_groups }}
26-
{{ $query := where (where site.Pages "Section" "authors") ".Params.user_groups" "intersect" (slice .) }}
26+
{{ $query := sort (where (where site.Pages "Section" "authors") ".Params.user_groups" "intersect" (slice .)) "Params.weight" "desc" }}
2727

2828
{{if $query}}
2929
<div class="col-md-12">

0 commit comments

Comments
 (0)