Hello, world

· 1 min read

This is the first post. Every post is a Markdown file under posts/, and the frontmatter at the top holds the title, date, tags and so on.

How it works

Build pipeline

Put images next to the post (like ./diagram.svg here) and reference them with a relative path. Astro checks they exist and optimizes them at build time.

Code blocks

package main

import "fmt"

func main() {
	fmt.Println("hello, blog")
}
git pull && ./deploy.sh

Inline code works too: npm run dev.

Tip: set draft: true in the frontmatter to keep a post out of production builds.

Thanks for reading!

To get updates when I publish a new post, subscribe with RSS.