January 15, 2024
Hello world
The first post — a quick tour of how content works in this starter.
General
This is an example post written in MDX. It lives at src/data/blog/en/hello-world.mdx and is rendered through src/components/PostPage.astro.
Editing posts
You can edit this file directly in your editor, or use TinaCMS at /admin:
- Run
bun run dev(starts TinaCMS + Astro together) - Open
http://localhost:4321/admin/in your browser - Edit the post — no login needed locally
Changes you make in the CMS are written straight back to these files.
Localization
Each locale has its own folder: src/data/blog/en/ and src/data/blog/cs/. A Czech copy of this post lives next to it at src/data/blog/cs/hello-world.mdx. The blog index and post routes exist for both locales.
Replace this post with your own — delete the file or set
draft: trueto hide it.
