research-lab-website

research-lab-website

A template for a Research Lab website, built with Jekyll.

Research lab website template

This website is built with Jekyll. It is derived from the great template provided by the Allan Lab, at Leiden University.

Setup

brew install ruby
gem install bundler jekyll

Clone this repository, then install the dependencies:

bundle install

Run

Run the local webserver with:

bundle exec jekyll serve

Contribute

Add a new member

New members are stored as markdown files under _pages/team/_posts.

Each new member .md file must look like this:

---
layout: member
category: staff
title: Researcher Name
image: researcher.png
role: Lab Director
permalink: 'team/researcher-name'
social:
    twitter: https://twitter.com/
    linkedin: https://www.linkedin.com/
    google-scholar: https://scholar.google.fr/
    github: https://github.com/
    website:
    orcid: https://orcid.org/
    research-gate: https://www.researchgate.net/
education:
 - Education
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.

Add a new publication

Publications are stored as .json file under _data/publications.json. This json file is exported from Zotero bibliography tool.

Just add a new entry to the list like this:

{
  "id": "http://zotero.org/groups/2386072/items/NU9LTX7C",
  "type": "article-journal",
  "title": "Foo",
  "container-title": "IEEE Transactions on Medical Imaging",
  "page": "448-459",
  "volume": "38",
  "issue": "2",
  "source": "IEEE Xplore",
  "abstract": "Bar",
  "DOI": "10.1109/TMI.2018.2865709",
  "author": [
    {
      "family": "",
      "given": ""
    },
  ],
  "issued": {
    "date-parts": [
      [
        "2019",
        2
      ]
    ]
  }
}

Add news

News are stored as .yml file under _data/news.yml.

An entry looks like the following:

- date: 03/09/19
  title: "Something great"
  tags:
    - some
    - tags
  content: Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    Eu turpis egestas pretium aenean. Luctus venenatis lectus magna fringilla
    urna porttitor. Lorem ipsum dolor sit amet. Pellentesque massa placerat
    duis ultricies. Commodo viverra maecenas accumsan lacus vel.

Edit template

We use Bootstrap for designing the website. Feel free to modify either the _pages or the _layouts components.