added nested routes and paths for post index and post show pages