Adapted to jekyll 2.3.0