Bunmori
Concepts

Collections & Singles

Understanding collections, singles, and custom content types

Collections & Singles

Collections and singles are the building blocks of your content structure. Each defines a custom content type with its own fields.

Collections

A collection is a container for multiple related content items - like a database table that defines the schema for a type of content.

Examples:

  • Blog Posts - articles with title, content, author
  • Products - items with name, price, description
  • Team Members - people with name, role, bio
  • Events - dates with title, location, description

Singles

A single is a content type that only has one item by design. Use singles for unique pages or global content that shouldn't have multiple entries.

Examples:

  • Homepage - hero title, featured content
  • About Page - company description, mission
  • Site Settings - global configuration
  • Contact Info - address, email, phone

Properties

PropertyDescription
TypeCollection (multiple items) or Single (one item)
NameDisplay name (e.g., "Blog Posts" or "Homepage")
SlugURL-safe identifier (e.g., "blog-posts")
IconIcon for the admin UI
Default LanguagePrimary language for content
Supported LanguagesLanguages enabled for this collection

Field Types

TypeDescription
TextSingle line text
TextareaMulti-line text
MarkdownRich text editor
NumberNumeric values
DateDate picker
DateTimeDate and time
BooleanToggle/checkbox
SelectDropdown options
ListArray of values
RelationLink to another item
Relation ListLinks to multiple items
ImageSingle image (URL or from gallery)

Translatable vs Non-Translatable

Translatable fields: Content differs per language (titles, descriptions)

Non-translatable fields: Same value across languages (SKU, price, dates)

Built-in Fields

Every item includes:

  • id - Unique identifier
  • slug - URL-safe string (fixed to "main" for singles)
  • title - Required translatable title
  • itemDate - Date for sorting (auto-set for singles)
  • createdAt / updatedAt - Timestamps

Collections vs Singles

FeatureCollectionsSingles
Number of itemsMultipleOne
Slug fieldUser-definedFixed to "main"
Date fieldUser-definedAuto-set
Sidebar linkOpens item listOpens edit form directly
Use caseBlog posts, productsHomepage, settings

On this page