← Back to blog

·1 min read·Daniel Diaz

Hello, world: why I set up this blog

First post. What I'll write about here and why I chose to have my own site instead of publishing only on LinkedIn.

[TODO] This is a sample post. Delete or edit it.

How to write a post

  1. Create src/content/blog/es/mi-articulo.md and src/content/blog/en/my-post.md. Give both the same translationKey so the language switcher links them, and an optional slug per language for the URL.
  2. Fill in the frontmatter: title, description, pubDate, tags.
  3. Write in Markdown. Code blocks work:
const greet = (name: string) => `Hello, ${name}`;
  1. npm run build and upload dist/ to the server. The post lives at /en/blog/my-post and 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.