The “slots” controls how many pagination pages you see displayed at once. For example < 1 2 3 > has a slots value of 3 and < 1 2 3 4 5 > has a slots value of 5.
The default pagination template hard codes {{- $slots := 5 }} or {{- $slots := 3 }} depending on if you’re using the terse option.
When you have 30+ pages of content, 5 is kind of low.
It’s easy enough to duplicate the content locally and hard code the slots value you want, but it would be nice if we could configure the slots in Hugo’s configuration since that value isn’t configurable, only the pagerSize is.
Is there a reason this isn’t configurable? Given how useful it would be to customize this, I’m wondering if it wasn’t configurable for a reason I’m not thinking of.
I know when it comes to mobile design, a large value would look questionable since the page labels would wrap to multiple lines but that could be fixed with CSS within a project.
I am not in favor of modifying the embedded pagination partial at this time given (a) the lack of demand and (b) the fact that it’s trivial to override.
If at some point we change the embedded pagination partial, we would add parameters to be passed in context. Tying embedded partials and shortcodes to site configuration gets messy.