expose layout to route handlers