adapt to jekyll API changes