the Sampa group website
TeX HTML CSS JavaScript Perl Makefile Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit df0897a Jun 24, 2018
Permalink
Failed to load latest commit information.
_data rip UCLA LUG servers Jun 1, 2018
_includes try to get footer to show up on every page Jul 1, 2016
_layouts refresh research page, now with completed projects, retire grappa to … Jul 1, 2016
_posts Create 2018-05-19-vldb.md May 19, 2018
_projects updates to projects Apr 24, 2018
bib accidentally a comma Mar 12, 2018
bibble @ 9647080 Add PC list Feb 27, 2015
blog refactor into _include/news-item.html & update full news page Nov 4, 2015
css !! Mar 12, 2018
img update pic Jun 24, 2018
js start using Bootstrap v4 (alpha) Oct 26, 2015
papers add acknowledgements section Jun 18, 2015
research refresh research page, now with completed projects, retire grappa to … Jul 1, 2016
sane14 edits to sane page May 8, 2014
wacas14 wacas: past tense, remove submission instructions Mar 8, 2014
wax2015 Add "colony of NPUs" slides Jul 6, 2015
.gitignore update my project cards kinda Sep 26, 2016
.gitmodules bibble submodule Sep 20, 2013
404.md add 404 page Jan 8, 2014
Dockerfile stop using docker for 🎣 Nov 5, 2015
Makefile don't deploy to cards/ anymore Nov 9, 2015
README.md Update README.md Dec 30, 2016
_config.yml Actually update the active u-grads list Apr 30, 2016
_config_sandbox.yml deployment Nov 22, 2013
code.md Update code.md Oct 7, 2015
googled526fda073b699a8.html add file to enable google webmaster tools Jun 10, 2014
htaccess Fix short-URL pattern Jul 15, 2015
index.html updating people and photos Sep 1, 2017
oldnews.html mark old news page as such Dec 16, 2013
people.html more updates... Oct 7, 2015
publications.html (optionally) automatically include page title Nov 24, 2013
robots.txt one more URL Jun 10, 2014
seminars.md transfer a last couple of files Nov 24, 2013

README.md

Sampa group website

This is the Sampa group website, built with Jekyll and bibble.

It's based on our research group website template, which you can use to build your own nice group website! 🎣

Editing

Most pages are just Markdown files that you can edit directly. People are listed in _data/people.yml and the news is generated from _data/news.yml.

Try editing directly in GitHub! It's like magic.

News Items and Blog Posts

For both long-form blog posts and short news updates, we use Jekyll's blogging system. To post a new item of either type, you create a file in the _posts directory using the naming convention YYYY-MM-DD-title-for-url.md. The date part of the filename always matters; the title part is currently only used for full blog posts (but is still required for news updates).

The file must begin with YAML front matter. For news updates, use this:

---
layout: post
shortnews: true
---

For full blog posts, use this format:

---
layout: post
title:  "Some Great Title Here"
---

And concoct a page title for your post. The body of the post goes after the --- in either case.

Building and Deploying

The requirements for building the site are:

  • Jekyll: run gem install jekyll
  • Pybtex: run pip install pybtex
  • bibble: included as a submodule. Because git is cruel, you need to use git clone --recursive URL or issue the commands git submodule init ; git submodule update to check out the dependency.
  • ssh and rsync, only if you want to deploy directly.

make compiles the bibliography and the website content to the _site directory. To preview the site, run `jekyll serve`` and head to http://0.0.0.0:4000.

To upload a new version of the site via rsync over ssh, type make deploy. A web hook does this automatically when you push to GitHub.

If you use an alternative Python when building the bibliography, use make PYTHON=/path/to/python.