Routes
Routes are registered with the routes
extension.
The extension accepts an array of routes, where each route is defined as an array of key/value pairs. You have to define at least a pattern and an action.
Routes can also be registered as callbacks. Within the callback they have full access to the current Kirby instance.
For more information on routing see the routing docs