Could we instead configure it in just the router and bring it into the template as `@packages_per_page`?  That way you only have to configure it in one place.