Skip to content
Astro Rocket
Get in touch

Product · · 2 min read

Writing Posts and Adding Projects

Where posts and projects live in Astro Rocket, and the fields that control their pages, cards and covers.

On this page
  1. A post
  2. A project

Posts and projects are Markdown files. Add a file and the site builds a page for it, a card on the overview, and a place on the homepage.

A post

Posts live in src/content/blog/en/. The file name is the address: my-first-post.md becomes /blog/my-first-post/.

---
title: "My First Post"
description: "One sentence for the card and for search engines."
publishedAt: 2026-12-01
author: "Your Name"
cover: "first post"
icon: "sparkles"
tags: ["Design"]
---

The text of the post.
  • cover and icon make the cover: the word on a grid in the site’s colour, with the icon above it. The icon is any name from lucide.dev/icons. A post with an image shows that picture instead.
  • tags each get a page, such as /blog/tag/design/.
  • featured: true shows the post large at the top of the blog.
  • draft: true keeps a post off the live site.
  • comments: false hides the comments under one post.

The headings in a post make the “On this page” list beside it.

A project

Projects live in src/content/projects/en/, and work the same way.

---
title: "Studio Portfolio"
description: "One sentence for the card."
category: website
year: 2026
client: "The client's name"
services: ["Web Design", "Web Development"]
tags: ["Astro", "Client Work"]
url: "https://example.com"
order: 1
---
  • category is website, product or open-source.
  • client, year and services are the facts in the project’s hero.
  • url and repo add the buttons “Visit the site” and “View the code”.
  • featured: true and order decide the order: featured first, then lower numbers first.
  • A cover picture in src/assets/ replaces the drawn cover.

Get started

Ready to build?

Clone Astro Rocket, pick a theme, and launch your next project in minutes.