Add ability to render a layout as a partial