Skip to content
Matt Luckcuck edited this page Sep 8, 2020 · 1 revision

This page is about adding/managing the members section of the website.

Each member is represented by a record in the _data/members.yml file. This information is used to populate the members page.

The members.yml file contains three lists: CurrentMembers, AffiliatedMembers, and PreviousMembers.

A member's record will look like:

- name : "member name"
  website: "member website"
  orcid: "orcid url"

The - indicates that it is an element in the relevant list (of either Current, Affiliated, or Previous Members). The website and orcid fields are optional.

Adding a new Lab Member

To add a new member to the members page, you need to add their details to the _data/members.yml file.

If they are a 'full' member of the lab, then add their details to the CurrentMembers list. Note that website and orchid are optional.

If they are an affiliated member of the lab, then add their details to the AffiliatedMembers list. Each element of this list contains the Institute and MembersList fields, e.g.:

- Institute: "institute name"
  MembersList:
    - name : "member name"
      website: "member website"
      orcid: "orcid url"

If the member belongs to an institute already in the list, then simply add their details to the MembersList of that institute. If the member belongs to an institute that is currently not listed, then start a new sublist for that institute and add the member's details there. Again, website and orcid are optional fields.

When a Member Leaves

When a member leaves the lab, move the record containing their data to the PreviousMembers list. Again, website and orcid are optional fields.

Clone this wiki locally