Pages CMS
  • GitHub GitHub
  • Discord Discord

Getting started

  • Introduction
  • Quick start
  • How it works
  • Plans and billing

Configuration

  • Configuration overview
  • Content
    • Collections and files
    • File formats
    • Filenames
    • Collection views
  • Media
  • Localization
  • Components
  • Actions
  • Settings

Fields

  • Fields overview
  • String
  • Text
  • Rich text
  • Code
  • Number
  • Boolean
  • Date
  • Select
  • Reference
  • Image
  • File
  • Object
  • Block
  • UUID

Guides

  • Edit content
  • Manage media
  • Edit translations
  • Run actions
  • Invite collaborators
  • Auto-configure
  • Roles and permissions
  • Cloud storage

Self-hosting

  • Run locally
  • Deploy with Node.js
  • Deploy to Cloudflare Workers
  • Deploy to Vercel
  • Deploy to Netlify
  • GitHub App
  • Environment variables
  • Upgrading

Extending

  • Plugins
  • Create a custom field
  • Custom field API

API and MCP

  • REST API
  • MCP
⌘K
Open app

String


View as Markdown Open in ChatGPT Open in ClaudeCursor Open in Cursor
Fields overview
Text

A single-line text input.

Add this field under fields in .pages.yml:

- name: title
  type: string
  required: true
  options:
    maxlength: 120

A saved value in YAML or Markdown front matter might look like:

title: A new story

Options

Option Description
minlength Minimum number of characters.
maxlength Maximum number of characters.

Validate the format with pattern.

Fields overviewText

On this page

  1. Options