RU
All posts

How to add a post

Where the blog files live, which fields to fill in and how to link a translation.

This is a template post that explains how the blog works. Delete it once real posts appear.

Where posts live

Every post is a separate Markdown file:

  • src/content/blog/ru/ — Russian version;
  • src/content/blog/en/ — English version.

The file name becomes the URL: writing-posts.md/en/blog/writing-posts/. To link a translation, give the files the same name in both folders — the language switcher will open the matching version. Without a translation it leads to the post list.

Front matter fields

---
title: Post title
description: One or two sentences for the card and search engines.
pubDate: 2026-09-13
updatedDate: 2026-09-20 # optional
tags: [dotnet, notes]
draft: true # draft: visible in npm run dev, excluded from the build
---

How to check

Run npm run dev and open the post list — a new post shows up as soon as you save the file.