Center custom homepage Markdown vertically in the viewport space below navigation when both pages.home.latest and pages.home.random are disabled.
Keep the existing 800px reading width, text alignment and navigation.
Derive centerContent from nonempty rendered Markdown and configured switches—not whether enabled collections happen to be empty.
Preserve normal flow for stock/mixed homepages and absent/empty custom content.
Use minimum viewport height so long Markdown grows and remains scrollable rather than clipping.
Update existing loader coverage, remove trivial hydration-forwarding assertions and include a web patch changeset. No new dependencies or browser-test cases.
Full web lint, changeset formatting and staged whitespace passed.
Fresh production build and 5 selected existing native homepage cases passed (58 HTTP cases skipped).
Manual checks against the real production build at 1280×900 and 390×844 verified short-content centering, long-content scrolling and reachable final content, and unchanged stock/mixed/enabled-empty layouts without horizontal overflow.
Correctness review found no material issues; approved readability and absent/empty-content test findings were addressed, then focused tests/type/lint checks rerun. Geometry was not redundantly rerun after the behavior-identical const extraction and test-only additions.
Browser measurements concern the Markdown block, not center-aligned text. Actual CI/container results remain to be confirmed.
## Summary
Center custom homepage Markdown vertically in the viewport space below navigation when both `pages.home.latest` and `pages.home.random` are disabled.
- Keep the existing 800px reading width, text alignment and navigation.
- Derive `centerContent` from nonempty rendered Markdown and configured switches—not whether enabled collections happen to be empty.
- Preserve normal flow for stock/mixed homepages and absent/empty custom content.
- Use minimum viewport height so long Markdown grows and remains scrollable rather than clipping.
- Update existing loader coverage, remove trivial hydration-forwarding assertions and include a web patch changeset. No new dependencies or browser-test cases.
## Verification
- 6 homepage loader tests passed; Svelte check: 0 errors, 0 warnings.
- Full web lint, changeset formatting and staged whitespace passed.
- Fresh production build and 5 selected existing native homepage cases passed (58 HTTP cases skipped).
- Manual checks against the real production build at 1280×900 and 390×844 verified short-content centering, long-content scrolling and reachable final content, and unchanged stock/mixed/enabled-empty layouts without horizontal overflow.
- Correctness review found no material issues; approved readability and absent/empty-content test findings were addressed, then focused tests/type/lint checks rerun. Geometry was not redundantly rerun after the behavior-identical const extraction and test-only additions.
Browser measurements concern the Markdown block, not center-aligned text. Actual CI/container results remain to be confirmed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Center custom homepage Markdown vertically in the viewport space below navigation when both
pages.home.latestandpages.home.randomare disabled.centerContentfrom nonempty rendered Markdown and configured switches—not whether enabled collections happen to be empty.Verification
Browser measurements concern the Markdown block, not center-aligned text. Actual CI/container results remain to be confirmed.