Skip to content
A Jekyll theme for academic lab pages
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data Editing site data Apr 30, 2018
_includes Debugged carousel Apr 19, 2018
_sass Changing container sizes for viewport, font, etc Apr 30, 2018
assets Adding bootstrap locally Apr 19, 2018
papers Adding directory for publication info Apr 30, 2018
.gitignore init Apr 14, 2018
Gemfile Adding bootstrap sass Apr 19, 2018
LICENSE.txt Added installation instructions Apr 30, 2018
lab_pages.gemspec Added bootstrap related dependencies Apr 30, 2018
resources.html Changing layout from list to table Apr 30, 2018


Welcome to the lab_pages Jekyll theme. This theme is designed for academic laboratory pages with multiple team members, projects, and publications to document.

To experiment with this code, add some sample content and run bundle exec jekyll serve – this directory is setup just like a Jekyll site!


Easy way

  1. Clone this repo and cd into it.
  2. Change the contents of _data/*.yml and _config.yml to your info
  3. Run jekyll serve to serve the site

Alternative way

  1. Create a directory for your site and cd into it.
  2. Run jekyll new to create a new site
  3. In the Gemfile change the gem "minima" line to gem "lab_pages"
  4. Install the theme with bundle install
  5. Change your _config.yml theme to theme: lab_pages
  6. Run jekyll serve



Add information about website, webmaster, lab location, and PI contact info in _config.yml. Some information (e.g. pi_fax and lab_fax) are optional, but PI name, PI email, lab address and city are required.


There are three layouts with this theme: a homepage (home), a default page (default), and a papers page (papers). A table of papers will be displayed in /papers/index.html and the content will be determined by the .md files in (/papers/_posts/).


Each .md file should begin with a date (formatted as %YYYY-%mm-%dd) followed by a string. The front matter of each post in papers/_posts/ should contain the authors names, the paper title, an abbreviated citation, a DOI, and the journal name. The abstract of the paper should be included in the main content. Images can be included in these posts by placing the relevant image in the /assets/images/ directory and pasting the path in the -img: field of the front matter.


The .html file for the homepage carousel is in _includes/. Images for the carousel live in the assets/images/carousel/ directory.


Bug reports and pull requests are welcome on GitHub at This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.


To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in lab_pages.gemspec accordingly.


The theme is available as open source under the terms of the MIT License.

You can’t perform that action at this time.