Hello, zfb

Welcome to the basic-blog example. This site is the smallest realistic shape of a zfb project: a few pages, a content collection of Markdown posts, a single client island, and a layout that pulls everything together.

The point of the example is to be read as much as it is to be built. Every file in here is meant to map cleanly onto a single concept in the docs: routing lives under pages/, content lives under content/blog/, and the shared chrome lives in layouts/default.tsx. If you can read this post, the content collection is wired up correctly.

If you are exploring zfb for the first time, start with pages/index.tsx and follow the imports outward. Most of the moving parts are visible from that one file.

← Back home