Pass a Page object to the layout