-
Notifications
You must be signed in to change notification settings - Fork 20
Editing Global team members
Global team members are stored in the data/global_team
folder of the project, and is rendered on the website with Hugo page templates.
The folder is further sectioned in two: current
and alumni
.
While we could have had everyone in one folder and a key-value pair in the entry jsons, we found this system was easier to keep track of members over time.
When adding a new member, create a new file in the current folder, using the new member's entire name in small letters and with underscores _
where there would normally be white space. The file extension should be .json
:
athanasia_monika_mowinckel.json
The entry should contain the following information:
{
"name": "Athanasia Monika Mowinckel",
"role": ["Website", "YouTube"],
"start": "Oct. 2019",
"img": {
"url": "athanasia_monika_mowinckel.png",
"credit": "Tron Tronsdal"
}
}
Full name of the new member, their roles (be diligent in spelling so people in the same teams are bunched together), their start date (month + year), and a nested json for their image that includes the image file name, and an optional credit string for the photographer.
The picture should ideally have the same base name as the json, just with the appropriate file extension.
The image file should be placed under content/about-us/global-team/img/
.
Some times, a global team member may change their roles in the team.
We would like to make sure that is correctly reflected in the data we have on our members, to properly attribute their many contributions to our community.
When changing a role, we add a history
key to the entry, to log their historical roles.
History are logged as time-roles value pairs, every time they change a role, a new time-role pair is added to reflect the change.
{
"name": "Athanasia Monika Mowinckel",
"role": ["Leadership"],
"start": "Oct. 2019",
"img": {
"url": "athanasia_monika_mowinckel.png",
"credit": "Tron Tronsdal"
},
"history":{
"2019-2022": ["Website","YouTube"]
}
}
We currently do not display the history on the website, but use this information to thank our members for the tasks they have done while in the Global team when they decide to leave us.
When a Global team member finishes their run with R-Ladies, they entry is moved from the current
folder and into the alumni
folder.
Another key-value pair is added for the members end of service (month + year, preferable, year if we can't remember the month).
No other changes are needed.
{
"name": "Bea Hernández",
"role": [
"Community Slack"
],
"start": "2017",
"end": "2020",
"img": {
"url": "bea_hernandez.png"
}
}
Hugo setup
Contributing