Skip to content

Change PREVIOUS/NEXT anchor links value #705

Answered by SaidRasinlic
SaidRasinlic asked this question in Q&A
Discussion options

You must be logged in to vote

I made it work by going to projects locales/en.yml and just adding:

pagy:
   prev: "< Previous"
   next: "Next >"

To check all locales this link will be out of help https://github.com/ddnexus/pagy/blob/master/gem/locales/en.yml

However, it would be dope if we could override it somehow per pagy instance or in pagy.rb (I'm new to Pagy; maybe it can; if you know, please let us newbies know too).

Cheers 😃

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ddnexus
Comment options

Answer selected by ddnexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants