Getting Started with This Blog

Writing

Getting Started

This blog is built with Next.js, TypeScript, and Tailwind CSS. Posts are stored as Markdown files in the posts/ directory.

Adding a New Post

To add a new post:

  1. Create a new .md file in the posts/ directory
  2. Add frontmatter at the top with metadata:
    ---
    title: "Your Post Title"
    date: "2024-01-20"
    description: "A brief description"
    type: "Writing"
    ---
    
  3. Write your content below the frontmatter using Markdown

Frontmatter Fields

  • title (required): The title of your post
  • date (required): Publication date in YYYY-MM-DD format
  • description (optional): A brief description shown on the home page
  • type (optional): Category or type of post

That's it! The blog will automatically pick up new posts when you rebuild.