We can serve the website locally by using the following steps:
-
Make sure you have
gem
andbundler
installed by following the "Install Jekyll from bundler" instructions after you clone the repository -
Run
bundle install
in the directory with the jekyll site -
Run
bundle exec jekyll build
-
To serve up the site locally, run
bundle exec jekyll serve --incremental
-
Edit away and see the changes you make locally before you commit!
-
_pages/
- contains all of the individual pages that make up the site (a lot of these are created using a mix of markdown and html) -
_data/
- contains many*.yml
files that are used when updates occur in terms of lab news or personnel
news.yml
- yaml file with current newspublist.yml
- yaml file containing list of publications in reverse chronological orderteam_members.yml
- contains information about all current personnel in the lab
images/
- holds all of the images that are used on the site (for software, lab members, etc)_includes/
- defines html files for headers and footers for every page
All of the posts are held in the _posts/
directory. There are a couple of example posts in there, please be sure to follow the same format.
Posts are written in markdown and have a file naming convention of [date]-[title].md
(for examples see the _posts
) directory.
Each post also includes yaml topmatter that specifies the layout, title, date, and keywords of the post.
Every time a is commit pushed to the master branch, the website will be deployed to xinghuq.github.io
.
This website is powered by Jekyll and some Bootstrap, Bootwatch.
This website is copyed and modified from Novembre lab website.
Go to aboutwebsite.md to learn how to copy and modify this page for your purpose. The website is based on the Allan Lab @ Leiden University.