Skip to content

Maintaining the Team page

Axel Dürkop edited this page Oct 8, 2023 · 2 revisions

Relevant locations

The following locations in the project are relevant for maintaining the Team page:

  • _data/memberList.json contains 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/members contains image files. Avoid filenames with blanks or special characters.
  • _includes/components/member.njk contains markup as a reusable component for every team member or organisation.
  • en/team.njk contains various for loops that make use of the member.njk component filtering the status field.
  • .eleventy.js contains a filter for the conversion of time stamps in start and end fields of memberList.json.

Adding and updating members

  1. Add a member's image to the mentioned folder.
  2. Add a list element in the JSON structure by copying an existing one.
  3. Update the fields as you wish. For the time stamp in start and end use https://www.epochconverter.com/ and multiply the time stamp by 1000. Members in every section are sorted achronologically by the end date. This is done in the for loops of team.njk.
Clone this wiki locally