Open navClose nav

Sortable List Field


  • 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.
  • _Text/Select* – toggles the sortable list to allow text input, or to restrict options to a select field

Field UI,dpr_auto,f_auto,q_80,w_640/


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


<p>{{ delimit .Params.ingredients ", " }}</p>

Easily display a comma delimited string using the delimit filter

{{ range .Params.ingredients }}
  <li>{{ . }}</li>
{{ end }}


<p>{{ page.ingredients | array_to_sentence_string }}</p>

Easily display a comma delimited string using the array_to_sentence_string filter

  {% for ingredient in page.ingredients %}
    <li>{{ ingredient }}</li>
  {% endfor %}

Config Files

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

type: list
name: [String]
label: [String]
description: [String]
hidden: [true|false]
- [String]
  use_select: [true|false]


type: select
name: ingredients
label: Ingredients
description: Provide ingredients for this recipe
hidden: false
- 1 cup water
    use_select: [false]

See the select field documentation for configuring the select when config.use_select is set to true

Last updated on December 31, 2017