Reference

Guide

Headline

Creates a headline to group fields

The headline field helps to group larger sets of fields. It creates a headline with additional white-space and a prepended index number.

Example

fields:
  pageSettings:
    label: Page Settings
    type: headline
  title:
    label: Title
    type: title
  draft:
    label: Draft
    type: toggle
  content:
    label: Content
    type: headline
  text:
    label: Text
    type: textarea

Field properties

Property Type Default Description
label

The field label can be set as string or associative array with translations

numbered bool true

If false, the prepended number will be hidden

when

Conditions when the field will be shown

width string 1/1

The width of the field in the field grid. Available widths: 1/1, 1/2, 1/3, 1/4, 2/3, 3/4

Hiding the headline numbers

fields:
  pageSettings:
    label: Page Settings
    type: headline
    numbered: false
  title:
    label: Title
    type: title
  draft:
    label: Draft
    type: toggle
  content:
    label: Content
    type: headline
    numbered: false
  text:
    label: Text
    type: textarea

You can also just hide the numbers of one or a few headlines on a page, those headlines are then skipped when counting through. The others will get numbers like normal.