added ability to register a function that will add extra information to page meta