Route for pages at top level - route by template?

I want to put some pages at root / site.yml level, and I need to create a route for these pages. Is it possible to write a pattern to only pick up these pages, normally I would use parent page like this:

'pattern' => '/posters/(:all)',

You can use (:all) or (:any), the latter if you don’t want to cover subpages

'pattern' => '(:all)',

would this not also pickup home, the error page etc?

Yes, of course. You would then need an if statement to check. Or you use an explicit array:

'pattern' => ['page-1', 'page-2', 'page-3'],

ah right so I can just filter by template inside my route, sorry that was pretty obvious.