Skip to content

Site configuration

@bison-lab/payload-core is the Payload configuration every Bison Lab site would otherwise copy. It is not only the SEO tab.

Factory / helper What editors get Docs
seoPlugin An SEO tab on the pages collection SEO tab
pageMetadata Next metadata from that tab Page metadata
createTheme One Theme Global (Colors, Typography, Appearance, Identity) Theme
createBrandAssets Locked cupboard for logo, favicon, mobile-menu mark Brand assets
createRoles / createFeatures Settings → Roles and the Developer Features valve Roles and Features
createBlockLibrary Settings → Block library, one island per option Block library
createPages, createUsers, createMedia, createRedirects Pages with a slug lock, Users, Media, 308s Pages, users, and media
createAdminNav / adminNav() Developer-owned sidebar layout Admin nav
createQuestions / createTaxonomy FAQ Library kit list, plus name-only terms FAQ Library
createNavigation Header and Footer globals Header blocks

Access is passed in for collections that take it. Theme is required. createTheme and createBrandAssets default update to canUseFeature("theme") (Designer in the seed). A site may pass access.read to tighten read. It cannot omit the Theme Global.

Then payload generate:types, payload generate:importmap, and payload migrate:create. A field change is a schema change in every consuming site.