grav-plugin-pagination icon indicating copy to clipboard operation
grav-plugin-pagination copied to clipboard

Feature request: Ability to localize page's param in URL

Open tranduyhung opened this issue 8 years ago • 6 comments

It is great if the plugin gives an option to change "page" param in URL to something else, like for localization.

For example, I would like to have

myblog.com/bai-viet/trang:10

instead of

myblog.com/bai-viet/page:10

"trang" means "page" in my language.

I looked into the code and I was able to change "page" to a different word, but the page's result was only from page 1 and the pagination only activated page 1, I couldn't browse pages 2+.

tranduyhung avatar Apr 15 '16 04:04 tranduyhung