03 May 2020
If you are starting a new lab or want an easy (democratized) way to run your lab website - please: Clone this website!
We love our lab website because it is so easy to use and update. Updates are done in markdown, which is very easy to learn. As part of on-boarding, new members add their own bio and picture. This also serves to teach people git and to get comfortable with the idea of modifying, breaking, and fixing the website! The publications page is particularly powerful with easy formatting based on IDs for Pubmed, the Protein Data Bank, BioRxiv etc. Similarly the members page makes it easy to add accounts for Twitter, github, and other services. We keep adding more features. For example, Jen will be adding alumni links for lab websites or LinkedIn pages in the near future!
In keeping with our lab principles on sharing, we decided from the beginning to share it with a permissive open source license, so that others in the community are able to copy and modify it to make their own lab websites. We’re glad they have!
Have you made a website using the Fraser lab or one of these sites as a template? We’d love to add yours to our list!
organization_name.github.io- right away, you’ll start seeing a website appear at that URL! Optionally, download the site, and try building it using the instructions in the readme so you can edit locally. Either way, delete the current
CNAMEfile, which points to https://fraserlab.com. Once you’ve done this, the website will start showing up automatically at https://organization_name.github.io - no further hosting or configuration required.
news.xmlfiles to be your lab’s name!
_includes/footer.htmlfor your website! In particular, change the university brand image and link in the header, and the link in the footer.
staticfolder, and put in member photos, key images/PDFs for papers, and any extra images that you want to use on your site.
_postsfolder and write one or two of your own!
static, and maybe
index.mdto change the homepage! You can change the image in
_layouts/home.html. Change the sidebar on the homepage at
_dataand do the following:
alumni.ymlwith your own members and alumni!
visitors.ymlbased on your needs - do you have visiting scientists or undergrads/high school students to list?
navlinks.ymlbased on your needs - this controls what is in the navbar at the top of each page.
publications.ymlwith your own publications.
_layouts/members.html. Update the members page sidebar by editing
research/index.md. Similarly update any other specific pages by editing the
index.htmlfile in each folder.
_includes/disqus.html, or remove it at
_layouts/post.htmlif you don’t like comments on your posts.
sitemap.xmland optionally make another one of your own.
favicon.icowith one of your own!
_includesto customize the site to your heart’s content!
For a new publication, just upload a photo and PDF, then update the
_data/publications.yml file. Similarly, for a new member, just update
_data/members.yml. New blog posts can be made by adding a new markdown file in