Site icon Qianhe Chen
← Back to Blog

Hello, Blog

This homepage already separates structured data (like journal) from rich text (like home).

For blog posts, Markdown works best:

  • Easy to write and review
  • Great Git history (one post = one file)
  • Simple static generation via Astro Content Collections

Next steps I want:

  • RSS feed
  • Tag page (/blog/tags/:tag)
  • Reading time + table of contents

Here is a small code block to verify syntax highlighting:

interface Post {
    title: string;
    slug: string;
}

export function urlFor(post: Post): string {
    return `/blog/${post.slug}/`;
}