5.6.2
Content
Edit Vesper's content in Markdown, or switch it to EmDash.
Markdown
By default, the content is in Markdown and JSON files in content/:
content/posts/: the articles.content/projects/: your projects. Each has its own page.content/talks/: talks, for/speaking.content/uses/: the gear and apps you use, for/uses.content/jobs/: your work history, for the about page and the home page’s Work card.content/collage/: the photos in the home page’s collage.content/pages/: About, Now, Privacy, and the titles of Projects, Speaking and Uses.content/taxonomies.json: the post categories, tags and series.content/menus.json: the nav and the footer links.content/site.json: your name, bio, links and settings. See Settings.content/media/: images.
Set draft: true to leave an entry out of the built site (drafts still show in pnpm dev, so you can preview them). Set noindex: true on a post, project or page to keep it out of search engines, the sitemap and site search. See Search and share fields.
A post
Each post has one category. It may also have tags and a series:
---
title: Two days on a trail crew
date: 2026-05-28
summary: Before we drew a single screen for Ridgeline, we spent two days with a trail crew.
thumbnail: ../media/lula.webp
thumbnailAlt: A hiker walking a forest trail beside a moss-covered rock wall
category: design
tags: [offline]
series: building-ridgeline
---
category, tags and series are slugs in content/taxonomies.json. /articles has a filter for each category, and each category and tag has its own page. A post in a series links to the other posts in it.
A post may also have an updated date, for when you change it later. When updated is on a later day than date, the post’s meta line shows “Updated” and that date, and the sitemap and the structured data use it. See Search and AI.
The home page shows the five newest posts. A post with no thumbnail gets a text-only row, and in the card grid a tile in the accent with its category.
Search and share fields
Posts, projects and pages take optional fields for search results and shares:
seo:
title: "Title for search results and shares"
description: "One or two sentences."
image: ../media/share.webp # a local image, next to the others in content/media/
canonical: https://example.com/original-post/
noindex: true # top-level: out of search engines, the sitemap and site search
Every field is optional. A missing one falls back to the entry’s title, summary and image. The build stops on a blank title or description, or on a canonical that is not a full https:// or http:// address. Use canonical when a post first ran somewhere else. In EmDash, each entry’s SEO panel has the same fields.
Projects, talks, uses and jobs
- A project has a
summary, ayear, an optionallink, animageand alogo. Setfeatured: trueto show it on the home page’s Projects card, which shows up to three.ordersets the order. - A talk has its
event,date,placeandsummary, and optionalvideoandslideslinks. - A uses item sits under its
group, such as “Camera bag”. It has aname, a shortnoteand an optional link.groupImagegives the group a photo, andlinkButtonshows the link as a button. - A job has its
company,role,startyear andendyear. Leaveendout for the job you have now.
The collage
The home page’s band shows the photos in content/collage/. Use 4, 5 or 6 photos, or none for no band. Any other count stops the build.
---
image: ../media/crater.webp
alt: Snow-covered mountains around the deep blue water of Crater Lake
place: Crater Lake, OR
year: 2023
geo: "42.94° N · 7,100 ft"
order: 5
---
place and year are the caption in the Field notes look. geo is the map label in the Trail map look. A link makes the photo a link; without one it opens large. The layout sets each photo’s cut corner, so neighbors’ cuts always face each other.
Photos open large
A click on a photo opens it full screen, with previous and next for the other photos on the page. These photos open: a post’s or project’s main photo, photos in the text, collage photos with no link, the Now photo, and the about photo only when it is 1000px wide or more. An EmDash about photo with no known width does not open. With JavaScript off, the photo is a link to its large file.
To caption a photo in the text, give it a title in Markdown:

In EmDash, use the image block’s Caption field. A photo that is a link stays a link, and a photo with empty alt text stays as it is. Both still show their caption.
Alt text
Each photo is described for screen readers. In Markdown, the description is a key beside the photo’s key: thumbnailAlt (a post), imageAlt (a project or a page), groupImageAlt (a uses group photo) and alt (a collage photo). The build stops on an empty one. Logos are decorative and need none.
Switch to EmDash
EmDash is a CMS built on Astro, with an admin UI. To use it, load the demo content and images into a local database (data.db) once:
pnpm seed:emdash
Add --reset to start over. It deletes the content in the database.
Then change "markdown" to "emdash" in astro.config.mjs, or set CONTENT_SOURCE=emdash, and run pnpm dev. The admin UI is at http://localhost:4321/_emdash/admin.
The site’s title and tagline are EmDash’s site settings. The rest of the settings are in the “Profile” collection, which has one entry. In EmDash, a photo’s alt text is the media item’s own alt text, and a collage photo has its own Alt text field.
pnpm test:parity builds the site from each source and checks that they give the same content and pages.
With Markdown, the build is a static site. With EmDash, the build is a server app for Node. See Deploy.
Search
With Markdown, the build indexes posts, projects and pages with Pagefind, for /search. With EmDash, the search page asks EmDash on each request.
The privacy page
The privacy page, content/pages/privacy.md, is a template. Each [[fill in: …]] marker asks for one fact: your name and a contact email, your newsletter tool and what it stores, your host and its logs, and the privacy laws that apply to you, such as the CCPA in California. The build stops until every marker is gone, unless sampleContent is on.
The /system page
Run pnpm dev, then open /system. It shows the colors, type, components and sections. A build leaves it out unless you set ASTRONOMIC_SYSTEM=1.