Website for the PejLab
This site uses Jekyll to compile the markdown content and other files into html. The site is hosted on GitHub Pages. To update the site, you need to clone the repository, make changes, and push the changes to the repository. You can also submit a pull request if you don't have write access to the repository. GitHub will automatically compile the site and make the changes live.
- Images and CSS files are in the
assetsfolder. - Basic site info is in
_config.yml.- This includes the list of header items, which can either be a link to a page or an external link, e.g. to Google Scholar or GitHub. I customized
_includes/header.htmlto allow for external links with atitleand aurl.
- This includes the list of header items, which can either be a link to a page or an external link, e.g. to Google Scholar or GitHub. I customized
- The lab member info is in
_data/members.yml.- The
imagefield should be the filename of the image inassets/images/people. - Any formatting, links, etc. in the
biofield should be in HTML, not markdown.
- The
- The alumni info is in
_data/alumni.yml.- Currently photos are not included for alumni, and bios should only include their current job.
After making changes, you can test the site locally by running bundle exec jekyll serve and going to localhost:4000 in a web browser. You will need to have Ruby and Jekyll installed. See here for instructions. This compiles the site into _site and serves it locally. That folder will not be pushed to the repository, and only the source files are used to compile the site on GitHub Pages.