Skip to main content
The portfolio starter's homepage: “We design buildings, old and new.” above two black-and-white photos of buildings
A portfolio with a journal for Long Section, an invented architecture studio, with its people, clients, projects and posts. The site reads its content when it builds, through the Astro adapter, and builds again when content is published.

See the demo

Long Section, live.

Repository

The code on GitHub, under the MIT license.

Deploy to Cloudflare

A copy of the repository on Cloudflare. Its first build fails until you add the build variables, as the README says.

Deploy with Vercel

A copy of the repository, built on Vercel.

What it shows

Step by step

The repository’s history builds the site one commit at a time. It starts as a plain Astro site reading its content from files in seed/, and each commit after that moves one thing onto Nohead. Every step builds the same site, and its commits show what each one changes.
1

A portfolio reading seed files

The whole site, reading Markdown, YAML and images from seed/ as content collections.
2

The content model as code

nohead.schema.yaml describes the content, and the CLI pushes it to a project.
3

A seed script for the demo content

pnpm seed uploads seed/ to the project through the TypeScript SDK.
4

Nohead's Astro loader

The content collections load from Nohead instead of seed/, and the pages stay as they were.
5

Images from the image CDN

The adapter’s image service writes each size into the image’s URL, so the build downloads no image.
6

Search with public search

The search box sends each search straight to Nohead’s public search.
7

Deploying to Cloudflare or Vercel

A deploy button and settings for each host.
8

Rebuilding when content is published

A webhook calls the host’s deploy hook when published content changes, so drafts start no build.

Set it up

The repository’s README sets it up: the API keys and search token it needs, pushing the schema, adding the demo content and deploying.