Skip to content

Move Posts listing to a dedicated /blog page - #20

Merged
dmserrano merged 1 commit into
mainfrom
blog-page-split
Sep 8, 2026
Merged

Move Posts listing to a dedicated /blog page#20
dmserrano merged 1 commit into
mainfrom
blog-page-split

Conversation

@dmserrano

Copy link
Copy Markdown
Owner

Closes #17.

  • Homepage is now hero-only.
  • New `/blog` page hosts the full post list (reuses `PostCard`).
  • Header/Footer nav: Home, Blog, About.
  • Tag pages link back to `/blog/`.

Scope decided during follow-up discussion: homepage stays hero-only, no
recent-posts teaser.

Verification

  • `npm run typecheck` — clean
  • `npm run test` — 15/15
  • `npm run build` — succeeds, `/blog/index.html` generated
  • Checked structurally via local preview: homepage has no post-list
    markup, `/blog/` has the post cards, Blog nav link present in
    header and footer

Closes #17.

- Homepage (src/pages/index.astro) is now hero-only.
- New src/pages/blog/index.astro hosts the full post list, reusing
  PostCard (same component the homepage used to render inline).
- Header/Footer nav gained a Blog link (Home, Blog, About).
- Tag pages link back to /blog/ instead of implying home is the post
  index.

Verified: typecheck clean, 15/15 tests pass, build succeeds, and checked
structurally via local preview — homepage has no post-list markup,
/blog/ has the post cards, nav links present in both header and footer.
@dmserrano
dmserrano merged commit 9858cd9 into main Sep 8, 2026
2 checks passed
@dmserrano
dmserrano deleted the blog-page-split branch September 8, 2026 21:37
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.

Move Posts listing off the homepage onto a dedicated /blog page

1 participant