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!
- Clone this repo and
- Change the contents of
_config.ymlto your info
jekyll serveto serve the site
- Create a directory for your site and
jekyll newto create a new site
- In the Gemfile change the
gem "minima"line to
- Install the theme with
- Change your
Add information about website, webmaster, lab location, and PI contact info in _config.yml. Some information (e.g.
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 (
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
Bug reports and pull requests are welcome on GitHub at https://github.com/isacofflab/lab_pages. 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
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
assets tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in
The theme is available as open source under the terms of the MIT License.