My First Actual Post

July 25, 2024

Welcome to My First Post!

This post demonstrates how content is fetched from a Markdown file stored directly within the project under src/app/posts.

  • Posts are written in standard Markdown.
  • Frontmatter at the top includes metadata like title, date, slug, and excerpt.
  • The homepage automatically lists posts found in this directory.
  • Clicking "Read More" navigates to the full post page.

This approach allows for easy content management directly within the codebase, especially during development or for simpler blogs. For production, syncing with a Git repository (as implemented in the admin section) provides version control and collaboration benefits.

// Example code block
function greet(name) {
  console.log(`Hello, ${name}!`);
}

greet('World');

Enjoy reading!