[TODO] This is a sample post. Delete or edit it.
How to write a post
- Create
src/content/blog/es/mi-articulo.mdandsrc/content/blog/en/my-post.md. Give both the sametranslationKeyso the language switcher links them, and an optionalslugper language for the URL. - Fill in the frontmatter:
title,description,pubDate,tags. - Write in Markdown. Code blocks work:
const greet = (name: string) => `Hello, ${name}`;
npm run buildand uploaddist/to the server. The post lives at/en/blog/my-postand has a “Share on LinkedIn” button.
If you only want to publish in one language, create just that file: the language switcher will fall back to the other language’s blog index.