· Your Name · General  · 1 min read

Hello World — your first blog post

An example post showing how the blog works. Duplicate this file in src/data/post/ to write your own.

This is an example blog post. The blog engine, listing pages, categories, tags, and RSS feed are all wired up and ready to use — this post is just here to show it working.

Writing posts

Add a new .md or .mdx file to src/data/post/. The filename becomes the URL slug (/blog/your-filename). Supported frontmatter fields:

  • title (required)
  • publishDate, updateDate
  • excerpt, image
  • category, tags, author
  • draft: true to hide a post from listings
  • metadata to override SEO tags

Markdown works as expected

You can use bold, italic, links, lists, code, and everything else Markdown supports. Use the .mdx extension if you want to embed Astro components inside a post.

Delete this post once you’ve added your own.

Share:
Back to Blog

Related Posts

View All Posts »