/ewallace.github.io

Wallace Lab website

Primary LanguageHTML

The Wallace Lab main website

This repository encodes the lab website with github pages / jekyll.

TODOS

  • See links (funders/collaborators) from home page, not just "About"
  • Add funder logos on main page
  • Make protocols point to the github protocols repository

Also see Issues on the github page.

How to add content

  1. Fork the repository to your own github account using the "fork" button on the site.
  2. Clone your fork to your local computer (git clone)
  3. Create a new feature branch (git branch feature-name) and check it out (git checkout feature-name)
  4. Make your edits in a new feature branch, for example
  • add image files, for example add a profile picture at assets/images/team/john-smith-2019-pic.jpg
  • edit an existing page, for example change the image location in `team/_posts/2019-01-01-john-smith.md'
  • create a new page, for example copy news/_posts/2018-10-01-welcome-sam.md to a new file news/_posts/2019-01-01-welcome-john.md and then edit.
  1. Commit your changes
  • first add them, e.g. git add assets/images/team/john-smith-2019-pic.jpg
  • commit with an informative message, e.g. git commit -m "new john smith picture"
  1. If possible, preview the website locally using bundle exec jekyll serve to create it, and then browse to http://127.0.0.1:4000/
  1. Push changes to your fork with git push feature-name.
  2. Make a pull request into the staging branch. Someone, probably Edward, will review the pull request and incorporate it into the website.

Most of these steps can also be done via the website of your github fork, avoiding the command-line clone and push steps. I don't know how to preview the website edits this way, though.

News

Updating the public site

All edits should be made on the staging branch.

License

MIT