Skip to content

Commit

Permalink
fixed incoherence in alumni display
Browse files Browse the repository at this point in the history
  • Loading branch information
romsto committed Apr 9, 2024
1 parent d315433 commit 35a093e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@ photo: <file name with extension under _assets/images/people>

Don't forget to add the photo under `_assets/images/people/`.

To add alumnis, please head to `_data/alumni.yml` and follow the same format as for the publications.
To add alumnis, please head to `_data/alumnis.yml` and follow the same format as for the publications:
```yaml
- type: <Ph.D. or M.S.>
alumnis:
- name: FirstName FamilyName
year: 20..
website: [Optional] <URL to personal webpage>
- name: FirstName2 FamilyName2
year: 20..
```

## Website Info

Expand Down
2 changes: 1 addition & 1 deletion people.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1 class="category">LDILab's Family</h1>
<div class="people-content">
<div class="people-category-alumni">Alumnis ({{ alumnis-type.type }})</div>
<div class="people-list">
{% for alumni in alumnis-type.people %}
{% for alumni in alumnis-type.alumnis %}
{% if alumni.website %}
<a class="alumni" href="{{ alumni.website }}"> {{ alumni.name }}, {{ alumnis-type.type }} ({{ alumni.year }})</a>
{% else %}
Expand Down

0 comments on commit 35a093e

Please sign in to comment.