bedford lab research
HTML JavaScript CSS Ruby
Latest commit a635e9c Jan 20, 2017 @trvrb trvrb Fix typo.
Permalink
Failed to load latest commit information.
_data Update gitignore. Oct 10, 2015
_layouts Escape GitHub commit messages. Sep 23, 2016
_plugins Upgrade to Jekyll 3.0 and fix KaTeX rendering. Oct 18, 2015
_scripts
blog Complete SIV paper and remove stub of blog post Jan 20, 2017
css Update team members and team layout Sep 2, 2016
error/_posts Separate error pages. Oct 27, 2013
guide/_posts Replace MathJax with KaTeX. Oct 18, 2015
images Add trimmed figure to blog post Jan 19, 2017
js Make navbar collapsable. Oct 18, 2015
misc/_posts Include lab fork Jan 10, 2017
papers Fix typo. Jan 20, 2017
pdfs Complete SIV paper and remove stub of blog post Jan 20, 2017
projects Update date formatting. Nov 27, 2015
talks Add intermission slide to OSP talk Dec 1, 2016
team Add handle to Sidney's metadata Jan 19, 2017
.gitignore Include chikv project and update config. Aug 20, 2016
Gemfile
Gemfile.lock Update gemfile. Sep 13, 2016
README.md jekyll commands fix Jan 10, 2017
_config.yml Update ignore list Jan 11, 2017
all-posts.json Working prototype of infinite scroll. Oct 18, 2015
feed.xml Fix error message. Sep 25, 2015
index.html Fix spacing on homepage. May 5, 2016

README.md

bedford lab research

Build site

To build the website locally, clone the repo with:

git clone https://github.com/blab/blotter.git

Then install necessary Ruby dependencies by running bundle install from within the blotter directory. After this, the site can be be built with:

bundle exec jekyll build

To view the site, run bundle exec jekyll serve and point a browser to http://localhost:4000/. More information on Jekyll can be found here.

To include projects, preprocessing scripts are necessary to clone project repos and update Jekyll metadata. This can be accomplished with:

ruby _scripts/update-and-preprocess.rb

Then jekyll build works as normal.

Contribute

Blog posts just require YAML top matter that looks something like:

---
layout: post
title: Newton Institute presentation
author: Trevor Bedford
link: http://www.newton.ac.uk/programmes/IDD/seminars/2013082213301.html
image: /images/blog/transmission.png
---

The layout, title and author tags are required, while link and image are optional. Just save a Markdown file with this top matter as something like blog/_posts/2013-08-27-newton-institute.md, where 2013-08-27 is the date of the post and newton-institute is the short title. This short title is used in the URL of the post, so this becomes blog/newton-institute/, so the short title should be long enough and unique enough not to cause conflicts with other posts.

For more information

License

All source code in this repository, consisting of files with extensions .html, .css, .less, .rb or .js, is freely available under an MIT license, unless otherwise noted within a file. You're welcome to borrow / repurpose code to build your own site, but I would very much appreciate attribution and a link back to bedford.io from your about page.

The MIT License (MIT)

Copyright (c) 2013-2016 Trevor Bedford

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.