use pattern matching for simple routing in example-pages