Add dynamic route to pages