rearrange logic to get the readme and config links back in the extend page