π This repository stores the people profiles that are pulled into the MARC website during deployment.
If your pull request is merged here, the website workflow will clone this repository into the website build, and your profile can appear on the live site.
No GitHub account? Use the MARC profile form instead (its link is on the website's Documentation page). Every night at midnight Sri Lanka time, new form responses become pull requests here for a maintainer to review: see google-form/README.md.
Everyone at MARC keeps their own profile up to date. You can do it entirely in the browser:
- Open your file in
profiles/and click the pencil icon (Edit this file). - Sign in to GitHub if asked. If you are not a member of this repository, GitHub offers to fork it for you. Accept.
- Change the front matter (
name,post,photo) or the biography below it. - Click Commit changes⦠(or Propose changes), then Create pull request.
- When a MARC maintainer merges the pull request, the website rebuilds and your changes go live.
On a project? Your profile does not list your projects; each project file lists its team. Add your email (copied from your profile) under projectMembers or supervisors in each project's file in marc_projects/projects, and open a pull request there too. The two pull requests can be merged in either order. Guide: Add yourself to your projects.
To change your photo, first upload the new image to profiles/photos/ (Add file β Upload files), then point photo: at it, for example photo: ./photos/jane_doe.jpg.
Your email and name link you to your projects and publications. To replace one, move the old value to otherEmails / otherNames instead of deleting it (see Linking keys below).
New to MARC? Follow Option A below to add a new profile.
marc_people/
βββ profiles/ β one Markdown file per person
β βββ Jane_Doe.md
β βββ photos/ β profile photos
β βββ jane_doe.jpg
βββ scripts/validate-people.mjs
Markdown files outside profiles/ are not picked up by the website, and the validator reports them.
These fields connect a profile to the rest of the website. Everything else (post, photo, biography) is safe to change at any time.
| Field | Linked from | Purpose |
|---|---|---|
email |
projectMembers / supervisors in marc_projects |
Your main address and unique identifier. Never shown on the website. |
otherEmails (optional list) |
The same project lists | Any other address a project may use for you: student, old or personal. |
name |
Authors column of the MARC Publications sheet |
Your display name, and the first form used to find your papers. |
otherNames (optional list) |
The same Authors column | Other forms of your name in author lists, e.g. "Ratnayake, A." or "R. M. A. Ratnayake". At least two words each; quote forms that contain a comma. |
email: jane.doe@eng.pdn.ac.lk
otherEmails:
- e19999@eng.pdn.ac.lk
name: Jane Doe
otherNames:
- "Doe, J."
- "J. A. Doe"- Matching ignores upper and lower case, and for names also full stops and spacing (
J.A. Doe=J. A. Doe). - Changing your email or name: put the new value in
email/nameand move the old one tootherEmails/otherNames. Projects and papers that use the old one keep linking to you, with no other file to edit. - An address or a name form may belong to one profile only; the validator reports clashes. Make name forms specific enough not to match a colleague.
- The file name is your page address (
Jane_Doe.mdβ/people/jane_doe/). Renaming it breaks links shared elsewhere.
Full guide: pdnmarc.github.io/docs/profiles
Don't delete your profile. Add these two lines to its front matter instead:
status: past
currentPosition: "PhD, Example University, USA"Your profile moves to Past members on the People page (with "Now: β¦" from currentPosition), and keeps all its links: your projects and publications stay on your profile, and you stay on those project pages, marked as a past member. Keep post as the role you held at MARC, and leave your lines in the project files. currentPosition is only allowed together with status: past.
You will usually add:
- one Markdown file for your profile inside
profiles/ - optionally one photo file inside
profiles/photos/
A typical profile file looks like this:
---
email: your-email@example.com
post: Research Assistant
name: Your Name
photo: ./photos/your_name.jpg
---
Write your short biography here in Markdown.The text below the front matter becomes the biography section on your profile page.
You should have:
- a GitHub account
- basic familiarity with editing files and committing changes
- an email address to place in the front matter
The email field is important. In the website data model it acts as the primary key for a person. That means it is the main unique identifier used to connect your profile to projects and publications.
You are free to use any email address you want, but once other data starts referring to that email, changing it later can break those links.
The block between the top --- line and the next --- line is YAML front matter.
This is where the website reads your profile metadata.
A few YAML gotchas to watch for:
- every field name must be followed by a colon, like
email: - do not use tabs for indentation
- if a value contains special characters, a colon, or you just want to be safe, wrap it in quotes
- do not forget the closing
---line before your normal Markdown biography starts - the
photopath must match the actual file name exactly - avoid extra spaces inside file paths
Good example:
email: jane.doe@example.com
post: Volunteer
name: Jane Doe
photo: ./photos/jane_doe.jpgSafe quoted example:
name: "Jane Doe"
post: "Research Assistant"Since the people front matter only uses single values and not YAML lists, it is simpler than marc_projects, but the field names and colons still need to be correct.
Everything below the closing --- line is normal Markdown content.
For people profiles, this usually means your biography. You can include:
- plain paragraphs
- section headings
- bullet lists
- links
- emphasis such as bold or italic text
- images using Markdown syntax
Example:
---
email: jane.doe@example.com
post: Volunteer
name: Jane Doe
photo: ./photos/jane_doe.jpg
---
Jane Doe is interested in biomedical signal processing and machine learning.
## Research Interests
- Wearable sensing
- Signal processing
- Applied AI
You can also link to your work: [Google Scholar](https://scholar.google.com/).
Here is an inline image:
If you include an image in the content section, put it in profiles/photos/ and use a path relative to your profile file, such as ./photos/jane_doe_lab.jpg.
Keep it reasonably simple and readable. Plain paragraphs are completely fine.
The website currently validates each person entry with these fields:
email: a valid email address; needed to appear on project pages, optional otherwisepost: your rolename: your display namephoto: optional image pathotherEmails: optional list of other email addresses, used to match project teamsotherNames: optional list of other forms of your name, used to match publication authorsstatus: optional,current(default) orpastcurrentPosition: optional, past members only: where they are now, e.g."PhD, Columbia University, USA"
The website also renders your Markdown content as the biography on your profile page.
Optional card fields, used mostly by the Director, Deputy Directors, Members and Advisors (full guide: pdnmarc.github.io/docs/profiles/#card-fields):
detail: a line under the role on the People page card, e.g."Planning"or a satellite centreorder: position within the role's group on the People page,1firstlinks: round buttons on the card:website,university,scholar,linkedin(each optional). For the Director, Deputy Directors, Members and Advisors, the name on the website then links towebsite, or elseuniversitypage:falseshows only the card, without a page of its own
Use one of these exact values for post. The People page groups people by role under these headings:
post |
Heading on the People page |
|---|---|
Director |
Director |
Deputy Director |
Deputy Directors |
Member |
Members |
Advisor |
Advisors |
Project Coordinator |
Engineers, Research Assistants & Coordinators |
Research Engineer |
Engineers, Research Assistants & Coordinators |
Research Assistant |
Engineers, Research Assistants & Coordinators |
Research Intern |
Engineers, Research Assistants & Coordinators |
Volunteer |
Volunteers |
The validator (scripts/validate-people.mjs) rejects any other value. To add a role, update allowedRoles there, roles in google-form/questions.json, the profile form's drop-down, and the groups in the website's src/pages/people/index.astro.
This is the easiest option if you do not want to use Git locally.
- Open
pdnMARC/marc_peopleon GitHub. - Click
Fork. - Create the fork under your own GitHub account.
- Open your fork on GitHub.
- Open the
profiles/folder, then clickAdd file. - Choose
Create new file. - Name the file something clear, for example:
profiles/Jane_Doe.md
- Paste your profile content.
Example:
---
email: jane.doe@example.com
post: Volunteer
name: Jane Doe
photo: ./photos/jane_doe.jpg
---
Jane Doe works on ...
Her interests include ...If you want a profile photo:
- Open the
profiles/photos/folder in your fork. - Click
Add file. - Choose
Upload files. - Upload your image.
- Make sure the
photofield matches the uploaded file name exactly.
Example:
photo: ./photos/jane_doe.jpgNotes:
- Common formats such as
.jpg,.jpeg, and.pngare appropriate. - If you do not add a
photo, the website can fall back to a default avatar. - There is no separate people cover photo field in the current website validation. For people profiles, the supported image field is
photo.
If you already have a profile and just want to update it:
- Open your existing
.mdfile in theprofiles/folder of your fork. - Click the pencil icon to edit it.
- Update the front matter or biography.
- Scroll down and commit the change to a new branch.
- Open a pull request.
You can manage both new profiles and later updates entirely from the GitHub website this way.
When editing in the browser:
- Scroll to the commit section below the editor.
- Enter a short commit message such as
Add profile for Jane Doe. - Choose
Create a new branch for this commit and start a pull requestif GitHub offers it. - Click
Propose changesorCommit changes.
- GitHub will usually guide you to a pull request page.
- Open a pull request from your fork to
pdnMARC/marc_people:main. - Briefly say that you are adding or updating your profile.
Use this option if you prefer working on your own machine.
- Open the
pdnMARC/marc_peoplerepository on GitHub. - Click
Fork. - Create the fork under your own GitHub account.
git clone https://github.com/<your-github-username>/marc_people.git
cd marc_peoplegit checkout -b add-my-profileUse any clear branch name such as add-jane-doe-profile.
Create a new Markdown file inside the profiles/ folder.
Example:
profiles/Jane_Doe.md
Add front matter at the top of the file.
Required fields:
emailpostname
Optional fields:
photootherEmailsotherNamesstatuscurrentPosition
Example:
---
email: jane.doe@example.com
post: Volunteer
name: Jane Doe
photo: ./photos/jane_doe.jpg
---
Jane Doe works on ...
Her interests include ...After the front matter, write your biography in Markdown.
Plain paragraphs are enough.
If you want a profile photo:
- Put the image file inside the
profiles/photos/folder. - Reference it in the
photofield.
Example:
photo: ./photos/jane_doe.jpggit add .
git commit -m "Add profile for Jane Doe"
git push origin add-my-profile- Go to your fork on GitHub.
- Open a pull request from your branch to
pdnMARC/marc_people:main. - In the pull request description, briefly state that you are adding or updating your profile.
The MARC website GitHub Actions workflow clones pdnMARC/marc_people into the website build as the people collection.
That is why profile changes belong in this repository rather than directly in the website repository.
In practice, the flow is:
- You update
marc_people. - Your pull request is merged.
- The website workflow pulls this repository during deployment.
- Your profile becomes part of the website build.
- Your Markdown file is in the
profiles/folder. - Your front matter includes
email,post, andname. - Your
postvalue matches one of the supported roles exactly. - Your
emailis the identifier you want the system to use going forward. - Your
photopath is correct if you added an image. - Your biography is below the closing
---line.