How this blog is built
/ 1 min read / Code
Table of Contents
Each post lives in content/posts/. Astro uses the filename to generate the URL and reads the metadata at the top to build the homepage.
Adding a post
Create a Markdown file and start it with this frontmatter:
---title: My next postdescription: A short summary for the homepage.publishDate: 2026-11-28category: Journal---Write the post below the frontmatter. The homepage sorts posts by date, newest first.
Comments