People/Profiles¶
Each individual should have their own markdown file representing their profile.
These markdown files should be placed under the _people directory under
the root of the repository. Each profile also has a thumbnail image file that
will be referenced in the markdown file. These image files should be placed
under the images/people directory under the root of the repository.
The naming convention of the files should follow the standard of all lowercase
with no space between the first and last name of the person, e.g.
firstlast.md.
Modifying A Profile¶
All profiles are defined by three things, split between two files.
The header and bio are contained in a markdown file, while a jpg file is used as the profile thumbnail.
Below is the content of the template profile as markdown.
_people/profile_template.md)¶1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ---
name: First Last
degree: PhD, Concentration
university:
major: Aeronautics and Astronautics, Mechanical Engineering, Computer Science
position: affiliate, gradstudent, phd, pi, postdoc, researchengineer, undergrad
focus: Planning and Control (Title Case)
hours: 9:00AM - 5:00PM
location: Durand 028
email: someone@web.com
projects: Project 1, Project 2, etc.
avatar: stanford_tree.png
permalink: /people/profile_template
title: same as name
website: https://www.google.com
organization: post-graduation-work-place
workposition: post-graduation-work-position
---
Insert bio here
|
The Header¶
The header, line 1-14 of the above file, contains several variables that are used to autogenerate a profile. This file provides all variables a profile can use. The variables name, avatar, position, permalink and title are required. The other variables will be ignored if left empty. However, it is highly recommended to fill out as many of these variables as you can. This will improve the profile significantly.
- name
- First and last name of the individual.
- degree
- The highest degree held, the concentration of the degree and followed by the university where obtained.
- position
- Choose one of the provided options, based on the role of the individual.
- focus
- A concentration or focus of your research.
- hours
- Generally reserved for postdoc and researchers. You can choose your preference in formatting here, e.g. “9:00AM - 5:00PM”, “0900 - 1700”, etc.
- location
- Where the individual sits when at Stanford. MSL room is Durand 028.
- The email for the individual.
- projects
- A collection of projects the individual worked on. Please see project options for the available projects.
- avatar
- The filename of the image for the profile thumbnail. This file should
be under the
images/peopledirectory and should follow the naming convention, with ‘.jpg’ extension. - permalink
- The location of the profile with respect to the root website address. This should follow the naming convention, e.g. /firstlast/.
- title
- Same as the name variable. This is what will be the title of the tab in the browser.
- website
- If the individual has an external website they would like to add to their profile.
The Bio¶
The bio is a section under the header that is used as a short bio for the individual. This should be a short description of the person, including their goals while working in the MSL.
Profile Thumbnail¶
The profile thumbnail should be a square JPEG of the person. Preferably a head shot of the individual. The image should be no larger than 800 x 800 pixels. The largest an image will ever become in the generated website pages will be 500 pixel. As this might change in the future the 800 pixel value is ideal in case things change, while minimizing storage space.
Once again, this file should be stored in the images/people directory
of the repository root and follow the
naming convention discussed above, with
.jpg as the extension type.
Adding A New Person¶
The easiest way to add a new individual is to copy the
_people/profile_template.md and rename it to match the person being
added. Once the file is added to the _people directory, the website
should automatically create the profile page. Just make sure you follow the
procedures in Modifying A Profile to update the template information.