drand / website

Drand webpage, docs and blog 📚
https://drand.love
Other
3 stars 13 forks source link

Blog shows only page 1 of list of blogs #145

Closed yiannisbot closed 1 year ago

yiannisbot commented 1 year ago

When pressing "Next" at the bottom of the list of blogs at: https://drand.love/blog/ it gets to an empty page and doesn't show any more items. The list at: https://github.com/drand/website/tree/master/docs/blog shows that we should have 12 blogposts in total, but page 1 only shows 10. So the second page shouldn't have been empty.

Not sure what's wrong here (but haven't looked too hard either:). @johnnymatthews (or perhaps @jsoares ) any ideas? Can you help?

johnnymatthews commented 1 year ago

I can't think why this is happening off the top of my head, but a quick fix right now could be to increase the number of posts shown on a page from 10 to 20.

johnnymatthews commented 1 year ago

I updated the blog page to now show up to 20 posts instead of just 10: 84fc781650868198d76338424f6595bffe559224

Also, did this by accidentally merging directly into master. Sorry! Might be time to set some branch protection rules...

yiannisbot commented 1 year ago

Great, thank you! I'm closing the issue now, but I'll guess we'll be back with the same problem when we have more than 20 blogposts :-P Let's figure out a more permanent solution then. Thanks again.

johnnymatthews commented 1 year ago

Yeah. This should be fixable. There's something going on with how VuePress is showing the 2nd page. Just need to find time to figure out what's going wrong.