Two question on the same topic actually:
- Can I write a router for the root of the site? Like
'pattern' => '/'
or'pattern' => ''
? I couldn’t manage to make anything work. - Can I do the equivalent of
return page($page)
in a template? I could usego($page)
but I’d like to keep the “root” url, not the URL of the target page.