Content families

Everything a site holds belongs to one family, and the family decides three things: what its children are, how a record is addressed, and which fields it carries. All of it is reachable through the admin API; the families only differ in what they accept.

The families

Family Root Children Addressed by
Pages none — pages are site-wide — path
Blogs a blog record, many per site posts, categories, tags, authors, comments path and alias; posts also by number and date
Catalogs a catalog record, many per site products, variants, categories, tags, product types path and alias; products by slug and number
Stores one store per site products, variants, categories, tags, vendors path and alias; products by slug and number
Tables one table records records by slug
Feeds one feed feed pages, nested alias; a feed page by path, built from its segments and slug
Custom sections category types categories slug

A page is the simplest member: a path, a template, a title and the template's field values. There is no parent — every page of a site lives in the same flat path space, and a path is what the public surface answers.

A blog, catalog and store are containers. Each owns a subtree of the site, and each declares how its children are addressed: the container sets the path, and the number and date formats a post's or product's own URL is built from. That is why the same product template in two catalogs can produce two different URLs.

A table is a list of records shaped by one template — a price list, a schedule, a glossary — and records are addressed by slug. The family exists for content that has no page of its own.

A feed describes a listing rather than a single record: its parameters, how many items a page holds and how the pages are numbered. The feed's pages nest — a root page, then segment and slug pages below it — so one declaration covers a whole family of listing URLs.

A custom section is a set of category types a site defines for itself, with categories underneath, for taxonomy that is neither a blog's nor a catalog's.

What every family shares

Whatever the family, a record carries the same four things:

Part Meaning
Fields The values. A page or a table takes them from a template; a container declares them itself and hands field sets down to its children
Layout Which view renders it. Each level of a container has its own — a blog has a blog layout, a post layout, a category layout
Path Where it sits. Children of a container inherit its path as a prefix
Publication published, plus the sitemap flags: whether the record is listed, how often it changes, how much it matters

Publication is per record, not per family: an unpublished post is invisible while its blog stays served.

What the differences cost you

Four differences show up in every workflow:

Related