Skip to content

Fix blog homepage: Hindsight Cloud section always shows top 3 posts#770

Merged
benfrank241 merged 3 commits into
mainfrom
fix/blog-homepage-cloud-posts
Mar 30, 2026
Merged

Fix blog homepage: Hindsight Cloud section always shows top 3 posts#770
benfrank241 merged 3 commits into
mainfrom
fix/blog-homepage-cloud-posts

Conversation

@benfrank241

Copy link
Copy Markdown
Member

Summary

  • Changes postsPerPage from 10 to 'ALL' in docusaurus.config.ts

Problem

The custom BlogListPage component filters items (the paginated post list) into Cloud and Hindsight sections. With postsPerPage: 10, items only contained the 10 most recent posts across both sections. If the 3 most recent Hindsight Cloud posts were older than the 10 most recent overall, they would be missing from the Cloud section entirely.

Fix

postsPerPage: 'ALL' ensures all posts are available in items, so the Cloud section can always find and display the 3 most recent hindsight-cloud-tagged posts regardless of publication date.

Since BlogListPage is fully custom and already handles its own layout, the built-in pagination is unused — this change has no visible impact other than fixing the missing posts.

🤖 Generated with Claude Code

benfrank241 and others added 3 commits March 30, 2026 10:09
postsPerPage: 10 caused the Hindsight Cloud section to miss recent posts
when they were outside the first 10 results. Setting to 'ALL' ensures the
custom BlogListPage component can always filter the correct top 3 Cloud posts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces Docusaurus built-in pagination (which broke with postsPerPage: ALL)
with URL query param based pagination (?page=N). Cloud section always shows
the 3 most recent posts; Hindsight section paginates 9 posts per page.
@benfrank241 benfrank241 merged commit f30ca3d into main Mar 30, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant