Is it possible to easily get the index of a page within a given collection?
Not quite the same as $page->num(), because if you have the pages set to be numbered by date, you’ll get 20160101, and also because there’ the issue of where do the invisible items end up in the collection…