Respect res.locals.layout in res.view().