before_render & after_render is now part of middleman-core
Made to work with the new hooks syntax from middleman-core