Closed jamestagal closed 2 years ago
I expected this, I pushed out a breaking change to pagination: https://github.com/plentico/plenti/issues/191#issuecomment-1186242647. Typically I should wait to the next minor release (v0.6.0) to do this, but selfishly I needed it for a project so I just did it in the current 0.5.x (Sorry!).
Your site is still working locally because you're probably still on plenti 0.5.9. If you update to 0.5.10 locally it will break your site (but you should do this anyways because of the fix below).
I just pushed an update to the compendium theme for this: https://github.com/plenti-themes/compendium/commit/ad5210d28f77200005c2141e0b10bcdc06db0b1a
To pull this update into your project just run plenti theme update compendium
. Then track the changes and push it up to your repo and the build should work again. Just let me know if that gives you any trouble!
Hi @jimafisk Thanks for your response. no worries. I updated plenti to version 0.5.10 and the compendium theme and pushed the changes back..as you outlined. Thanks.
Though that fixed the home page, and the content loads there but not on the Posts page.
Ben
UPDATE
I worked it out...I am overriding the compendium projs.svelte
file so I just added the change you made, see below and that worked :)
$: currentPage = content.pager ? content.pager : 1;
Ben
Hi @jimafisk I just pushed my change back and all is working nicely :)
Thanks again for your help..Have a great day. Ben
Awesome, glad it worked!
Hi @jimafisk
After pushing some minor updates yesterday, I am not seeing post load either on the home page or the post page, see screenshots below. I can only see the navigation.
and on Posts page
The weird thing is if I click on a page, in the nav such as 1, it will load the posts otherwise it is blank. It is like as if the root is not indexing the posts...See screenshot below.
Also serving this site locally is fine. All content loads as expected. Could it be a caching issues? though i cleared my browsers cached images and files. I wonder whether you might take a look for me, and see if you get the same behaviour please.
Ben