Add locals for layout routes.