-
Notifications
You must be signed in to change notification settings - Fork 3
Maintaining the Team page
Axel Dürkop edited this page Oct 8, 2023
·
2 revisions
The following locations in the project are relevant for maintaining the Team page:
-
_data/memberList.jsoncontains a JSON data structure with a list element for every team member or organisation. The file was generated with a Python script and spread sheet shared separately. -
static/img/memberscontains image files. Avoid filenames with blanks or special characters. -
_includes/components/member.njkcontains markup as a reusable component for every team member or organisation. -
en/team.njkcontains various for loops that make use of themember.njkcomponent filtering thestatusfield. -
.eleventy.jscontains a filter for the conversion of time stamps instartandendfields ofmemberList.json.
- Add a member's image to the mentioned folder.
- Add a list element in the JSON structure by copying an existing one.
- Update the fields as you wish. For the time stamp in
startandenduse https://www.epochconverter.com/ and multiply the time stamp by 1000. Members in every section are sorted achronologically by theenddate. This is done in the for loops ofteam.njk.