Open navClose nav

Text Field,dpr_auto,f_auto,q_80,w_640/


  • General
    • Label — the human-friendly label shown above the input field in the editor.
    • Name — the key stored in your content’s front matter, used to access it in your templates.
    • Description — a human friendly description of what the field does and/or instructions for your editors.
    • Hidden — hides the field in the editor, but allows developers to set default values or maintain the field for legacy purposes.
  • Validation
    • Required — prevent changes from being saved if this field is empty.
  • Default — supply a default value.


You can access this field in your templates using the field’s name:


<h1>{{ .Title }}</h1>


<h1>{{ page.title }}</h1>


  <h1>{{ $page.frontmatter.title }}</h1>

Config Files

You can configure this field in Front Matter Template Config Files as follows:

type: text
name: [String]
label: [String]
description: [String]
hidden: [true|false]
default: [String]
  required: [true|false]
  min: [Int]
  max: [Int]


A required description field limited between 30 and 180 characters:

- name: description
  label: Description
  type: text
  description: Human-friendly summary to be displayed in SERP
    required: true
    min: 30
    max: 180

Last updated on June 11, 2020