← Blog

Hello

August 9, 2026 · meta

This is a placeholder post. Delete it and write your own: every post is one Markdown file in src/content/blog/, and the file name becomes the URL, so this one lives at /blog/hello/.

Frontmatter

Only title and date are required. The rest are optional:

---
title: "Your title"
description: "Shown in the listing, the RSS feed, and link previews."
date: 2026-08-09
tags: [astro, notes]
draft: false
---

Set draft: true while you’re writing. A draft still builds and is reachable at its URL — so you can look at it — but it’s kept out of the blog index, the RSS feed and search engines. In npm run dev it stays visible in the listing so you don’t lose track of it.

Writing

Regular Markdown, all of it: bold, inline code, links, lists, tables, block quotes, and fenced code blocks.

Nothing here needs a component or a layout choice. Write the file, save it, and it shows up.

Images

Put a post’s images in a folder named after the post, next to the Markdown file, and link them with a relative path:

src/content/blog/
  hello.md
  hello/
    editora-welcome.png
![Editora’s welcome screen, listing recent files and the command palette shortcut](./hello/editora-welcome.png)

Editora’s welcome screen, listing recent files and the command palette shortcut

At build time Astro converts these to WebP, sizes them, lazy-loads them, and fails the build if a path is wrong. Always fill in the alt text. For a file that must be served exactly as-is (an animated GIF, say), put it under public/ and link it with an absolute path like /images/demo.gif instead.