pixelstew / gatsby-paginate

A simple library for paginating posts in Gatsby js.
GNU General Public License v3.0
123 stars 26 forks source link

Path Prefix is ignored for first page #14

Closed e1moreno closed 6 years ago

e1moreno commented 6 years ago

Trying to use path prefix to assist me with localization. What I am finding is that the first page is always created at root '/' and subsequent pages are working correctly.

My developer 404, basically shows / /en/2 /en/3 /en/4

The path prefix is being ignored completely on the first page. Is this intended?

amitpatra commented 6 years ago

The latest version is not published yet on npm I believe.

pixelstew commented 6 years ago

Hi there @Garbonauta Pull the package from npm again - should respect prefix for first page now

e1moreno commented 6 years ago

@pixelstew Works great! Thank you very much!