pass config to all pages