GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix blog homepage: Hindsight Cloud section always shows top 3 posts by benfrank241 · Pull Request #770 · vectorize-io/hindsight

Conversation

@benfrank241

@benfrank241 benfrank241 commented Mar 30, 2026

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
benfrank241 and others added 3 commits March 30, 2026 10:09
@benfrank241 @claude
Fix blog homepage: show all posts so Cloud section always gets top 3
2b5c0bf
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 <[email protected]>
@benfrank241 @claude
Blog homepage: show exactly 3 Cloud posts and 9 Hindsight posts
09e55d7
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@benfrank241
Blog homepage: client-side pagination for Hindsight section
6dd0a1e
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

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@benfrank241
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.