Adds partials to the PagesController