mistahuman's GitHub Pages

back to posts

Feb 1, 2026

Hello World

the first example post β€” delete it and write your own

astro content-collections

This is the markdown body, rendered on the detail page at /posts/hello-world with <Content />. Write as much as you like here β€” paragraphs, lists, code.

How this works

  • each .md in src/content/posts/ becomes an entry, keyed by its filename
  • everything above the --- is validated against the schema in src/content.config.ts
  • the body below is free-form markdown
const posts = await getCollection('posts');

Replace these example files with your own content.