5.7.2
Content
Replace the demo text, write posts and guides in Markdown, or switch the Starter to EmDash.
Make it yours
The demo is a product site for Astronomic UI. Our name is in three places: the home page hero, the footer and the site title. Search the project for Astronomic UI and replace it.
Then replace the rest:
- The site name and tagline:
content/site.json. The name shows in the nav bar and in each page’s title. - The home page text (hero, features, screenshots, steps, call to action):
homeinsrc/site.ts. The screenshots insrc/assets/kit/show our demo. Replace them with pictures of your product. - About and Contact: the text is in
content/pages/about.mdandcontent/pages/contact.md. The numbers, the team and the customer quotes on About, and the email on Contact, are insrc/site.ts. The quotes are placeholders. Use real quotes from your customers, or remove the section. - The menu:
content/menus.json. The button at the end of the nav bar:navActioninsrc/site.ts. - The forms: the newsletter form on the blog and the message form on Contact post to the addresses in
formsinsrc/site.ts. Until you set them, a preview’s form only says it is a demo and sends nothing, and a live site leaves the form out: Contact shows the email, and the blog has no sign-up. - The blog photos: the cover photos are free stock photos (CC0, from Wikimedia Commons), credited in
content/media/CREDITS.md. Replace them with your own. - The look demo on the home page: remove it once you pick your look. See Looks.
Markdown
By default, the content is in Markdown files in content/:
content/posts/: one file per post.content/guides/: one file per guide.content/series/: one file per guide series.content/pages/: pages such as About, Contact and Privacy.content/site.json: the site title and tagline.content/menus.json: the menu.content/taxonomies.json: categories and tags.
A post starts with front matter like this:
---
title: Welcome to the blog
date: 2026-09-29
excerpt: What this blog is for, and what to read first.
categories: [news]
tags: [launch]
author:
name: Nora Whitfield
role: Founder
---
The author shows under the title and in a short box at the end of the post. Leave it out for a post with no byline.
Guides
Guides are how-to pages in a series, such as “Getting started”. Each guide has a part number. The guide page lists every part of its series and links to the parts before and after it. /guides lists every guide, grouped by series. Guides are not in the blog list or the feed.
A series is a file in content/series/. Its file name is its slug:
---
title: Getting started
description: Install the site, pick a look and build your first page, in three short guides.
---
A guide is a file in content/guides/. Under series, ref names the series’ slug and part is the guide’s part number:
---
title: Install the site
excerpt: Get the site running on your computer in a few minutes.
series:
ref: getting-started
part: 1
---
Parts are listed by part, then by slug.
In EmDash, add a series under Series, then add guides under Guides: pick the series and enter the part in the series.
Switch to EmDash
EmDash is a CMS built on Astro, with an admin UI. To use it, change the source in astro.config.mjs:
const content = await contentSource(process.env.CONTENT_SOURCE ?? "emdash", import.meta.url);
Or try it once without editing the file:
pnpm seed:emdash
CONTENT_SOURCE=emdash pnpm dev
The seed loads the demo content from seed/seed.json into a local database. The admin UI is at http://localhost:4321/_emdash/admin.
With Markdown, the build is a static site. With EmDash, the build is a server app for Node. See Deploy.
For a longer comparison, read Markdown or EmDash.
The /system page
Run pnpm dev, then open /system. It shows the design system: colors, type and components. A build leaves it out unless you set ASTRONOMIC_SYSTEM=1.