Phase Two: Markdown Posts

A small English post for testing Astro content collections.

Phase Two: Markdown Posts

This post verifies the minimum post system for the second phase.

Posts now live in src/content/blog instead of being written directly as route pages. Pages read these content files and turn them into post lists and detail pages.

The key ideas in this phase are:

  • Markdown files store the article body
  • frontmatter stores title, description, date, and language
  • the file name decides the post slug
  • [slug].astro renders different posts with one shared template

Getting this chain working first matters more than adding tags, RSS, or search too early.