Welcome to my blog
A guide for writing and publishing your first articles.
Welcome! This is the guide for publishing your articles on the blog.
How to write a new post
Create a .md (or .mdx) file in src/content/blog/en/. The frontmatter supports the following fields:
| Field | Description |
|---|---|
title |
Article title |
description |
Summary used on cards and for SEO |
pubDate |
Publication date |
lang |
Article language: it or en |
heroImage |
(optional) Cover image |
updatedDate |
(optional) Last update date |
A minimal example (src/content/blog/en/my-first-post.md):
---
title: "My first post"
description: "Short description."
pubDate: "Sep 18 2026"
lang: "en"
---
Article content in Markdown...
English versions
For the English version, create a file with the same name in src/content/blog/en/ and set lang: 'en', so the two posts share the same URL:
src/content/blog/it/my-first-post.mdsrc/content/blog/en/my-first-post.md
Both will be reachable at /blog/my-first-post/ in each language. The site only shows posts for the selected language.
Happy writing!