Fix deprecation warnings

This fixes a couple of the small deprecation warnings when running Jekyll.