Choose your preferred SSG:
Choose your preferred SSG:

Using Text Inputs to edit your data

These inputs are for editing plain text in your data.

Text

Single line input for short text values.

Text inputs are shown for inputs configured with the type text, or for inputs not matching any other naming convention.

Screenshot of text input field
Naming convention
tagline: Hand-crafted clothing.
Input configuration
footer_message: Look up!
_inputs:
  footer_message:
    type: text

Textarea

Expanded text input for longer and/or multi-line text.

Textarea inputs are shown for inputs configured with the type textarea, or for input keys matching:

  • textarea
  • *_textarea
  • description
  • *_description
Screenshot of large text input field
Naming convention
description: Products are crafted in-house by hand, making each piece a labor of love and an exercise in craftsmanship.
Input configuration
footer_copy: |-
  We hope you love our products.
  We are proud of them!
_inputs:
  footer_copy:
    type: textarea

Email

Single line input for email addresses.

Email inputs are shown for inputs configured with the type email, or for input keys matching:

  • email
  • *_email
  • email_address
  • *_email_address
Screenshot of an email input field using the email key
Screenshot of an email input field using the email_address key
Naming convention
email: support@cloudcannon.com
email_address: support@cloudcannon.com
Input configuration
to: support@cloudcannon.com
_inputs:
  to:
    type: email

Disabled

Single line input that cannot be edited for any value.

Disabled inputs are shown for inputs configured with an unknown type, or for inputs with values that cannot be edited with the configured type.

Note

Text is stored unquoted if possible. Unquoted text containing only numbers with commas may require a workaround in Jekyll.

Was this article helpful? or Suggest an improvement >