This extra removes the
page=1 param from the link of the first page. You need only to require the extra in the initializer file.
This extra is needed only for very specific scenarios, for example if you need to avoid frontend cache duplicates.
See extras for general usage info.
# in the Pagy initializer require 'pagy/extras/trim'
This extra is composed of 1 small file:
trim extra overrides the
pagy_link_proc method in the
This method trims the
:page_param param from the first page link. It is alias-chained with