Skip to content

5.5 Team pages how do I?

Daniel Pett edited this page Dec 19, 2018 · 2 revisions

Team pages provide two facets - a set of cards for the team members and access to individual biography pages.

Index page

The index page for team is held outside the root folder _team and is called team.md This markdown file is blank apart from the front matter. If you wanted to add introductory text, you can do this below the header info. This will automatically appear in the template.

Team member biographies

Team members have customised front matter, and this could be extended further to add publications or other attributes and the template adjusted to show these data. At present each team member biography has the following:

  1. Title
  2. Institution they belong to
  3. Their profile image path
  4. Layout to use
  5. Job title to display

So the front matter says:

---
title: Charlotte Hunkeler
institution: External member
image: /images/staff/CharlotteHunkeler.jpg
layout: team
job-title: PhD Student
---

Their biography is then rendered in markdown below this. You can use HTML if you are comfortable.