π 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.
You will usually add:
- one Markdown file for your profile
- optionally one photo file inside
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, use a relative path to a file inside the repository. The image can be placed at any place inside the repo (You don't need to place it in the cover_images folder, in fact don't place them there π !)
Keep it reasonably simple and readable. Plain paragraphs are completely fine.
The website currently validates each person entry with these fields:
email: must be a valid email addresspost: your rolename: your display namephoto: optional image path
The website also renders your Markdown content as the biography on your profile page.
Use one of these exact values for post:
DirectorDeputy DirectorResearch AssistantVolunteer
These values come from the website code. If you use a different role, the website may not show your profile in the main people listing.
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.
- In the repository root, click
Add file. - Choose
Create new file. - Name the file something clear, for example:
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
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 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 in the repository root.
Example:
Jane_Doe.md
Add front matter at the top of the file.
Required fields:
emailpostname
Optional field:
photo
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
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 repository root.
- 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.