make the plugin work with jekyll 2.

this edit makes it work for me. I haven't tested it thoroughly.