Port the routes manager from my markdown CMS