Pass config to posts and page objects instead of referencing a global config.