statamic / ssg

The official Statamic Static Site Generator
229 stars 23 forks source link

Generating paginated results isn't working properly #149

Open simonhamp opened 10 months ago

simonhamp commented 10 months ago

I'm using the latest version that has #140 in it. I've updated my config.

The pagination is detecting that it needs to run 👍🏼

But every page generated only has the data for Page 1

simonhamp commented 10 months ago

@jesseleite It seems to have something to do with cloning the $page object inside writePaginatedPages - when I stop that cloning, it works just fine (but I haven't run the tests yet)

tao commented 9 months ago

The update also broke pagination on my website. It would happen randomly so pages 1-7 worked and 8 didn't work, then 9-10 worked again.

I had to revert back to v2.0.0.