diff --git a/_data/phd_students.yml b/_data/phd_students.yml index 8f8ad4b..a75d06b 100644 --- a/_data/phd_students.yml +++ b/_data/phd_students.yml @@ -13,6 +13,7 @@ # # Optional Fields: # - photo: Filename in /images/teampic/ (default: bio-photo.jpg) +# - photo_position: Optional CSS object-position for portrait framing # - info: Role/title (e.g., "PhD Student", "PhD Candidate") # - short_bio: Brief description (not currently displayed) # - email: Email address @@ -95,6 +96,7 @@ - name: Herman Tcheneghon Motcheyo photo: herman_tcheneghon_motcheyo.jpg + photo_position: "center top" info: PhD Student email: "herman.tcheneghonmotcheyo@mail.concordia.ca" # Alternative email (not displayed): hermanmotcheyo@gmail.com diff --git a/_includes/team-grid.html b/_includes/team-grid.html index 14a315c..741e834 100644 --- a/_includes/team-grid.html +++ b/_includes/team-grid.html @@ -8,6 +8,7 @@ - name: "Jane Doe" (required) - info: "PhD Student" (optional) - photo: "jane.jpg" (optional; falls back to bio-photo.jpg) + - photo_position: "center top" (optional; defaults to centered cropping) - email / github / linkedin / google_scholar / orcid / twitter (optional) - links: (optional; array of {url,type,label,icon}) - { url: "https://...", type: "website" } @@ -48,7 +49,7 @@
- Portrait of {{ member.name | escape }} + Portrait of {{ member.name | escape }}