Hello, world

The first post on the blog, and why it exists.

This is a sample post. Delete it and write your own.

How to write

Create an .mdx file in src/content/blog/en/ with this frontmatter:

  • title — the post title
  • description — used in the listing and for SEO
  • date — in YYYY-MM-DD format
  • draft: true — optional, hides the post from the production build

The filename becomes the URL: ola-mundo.mdx/en/blog/ola-mundo.

Translations

To translate a post, create a file with the same name in the other language folder. That way the language switch lands on the matching version.

Since these are MDX, you can import Astro components inside a post when you need to.

← Back to blog