Skip to content
Astro Flightdeck
Start free

Product · · 2 min read

Writing posts and adding projects

Where posts and projects live in Astro Flightdeck, 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 and a card on the overview.

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 in the colour of the post’s category (product, the default, is 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 are the customer stories at /customers/; projects: false in src/config/theme.config.mjs turns them off. They live in src/content/projects/en/, and work the same way: my-shop.md becomes /customers/my-shop/.

---
title: "My shop"
description: "One sentence for the card."
category: shop
year: 2026
client: "The customer's name"
services: ["Uptime", "Status pages"]
tags: ["Uptime"]
url: "https://example.com"
order: 1
---
  • category is agency, shop or software.
  • client, year and services are the facts under the title: Customer, Customer since and Uses.
  • 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

New to Astro Flightdeck?

The first guide installs the theme, runs it on your computer and puts it online.