Back to blog

Sample post

Scaffolding from the redesign, kept only so the blog layout has something to render. Delete it.

This entry exists so the blog index and the post template have something to show. Delete it from src/content/posts.ts once you have a real post.

Posts live in that file as plain objects. Each one needs an id, a title, a summary and content; the date is optional. The id becomes the URL, so this post is served at /blog/sample-post and is statically generated at build time.

Content is plain text. A blank line starts a new paragraph — that is the only formatting rule, which keeps writing a post closer to writing an email than to writing markup.

If you would rather not edit the file by hand, the admin page still works as a drafting surface. Write there, hit Export, and paste what it gives you back into this file.