These inputs are for editing plain text in your data.
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.
tagline: Hand-crafted clothing.
footer_message: Look up!
_inputs:
footer_message:
type: text
tagline = "Hand-crafted clothing."
footer_message = "Look up!"
[_inputs.footer_message]
type = "text"
{
"tagline": "Hand-crafted clothing."
}
{
"footer_message": "Look up!",
"_inputs": {
"footer_message": {
"type": "text"
}
}
}
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
description: Products are crafted in-house by hand, making each piece a labor of love and an exercise in craftsmanship.
footer_copy: |-
We hope you love our products.
We are proud of them!
_inputs:
footer_copy:
type: textarea
description = "Products are crafted in-house by hand, making each piece a labor of love and an exercise in craftsmanship."
footer_copy = "We hope you love our products.\nWe are proud of them!"
[_inputs.footer_copy]
type = "textarea"
{
"description": "Products are crafted in-house by hand, making each piece a labor of love and an exercise in craftsmanship."
}
{
"footer_copy": "We hope you love our products.\nWe are proud of them!",
"_inputs": {
"footer_copy": {
"type": "textarea"
}
}
}
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
email: support@cloudcannon.com
email_address: support@cloudcannon.com
to: support@cloudcannon.com
_inputs:
to:
type: email
email = "support@cloudcannon.com"
email_address = "support@cloudcannon.com"
to = "support@cloudcannon.com"
[_inputs.to]
type = "email"
{
"email": "support@cloudcannon.com",
"email_address": "support@cloudcannon.com"
}
{
"to": "support@cloudcannon.com",
"_inputs": {
"to": {
"type": "email"
}
}
}
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
.
Text is stored unquoted if possible. Unquoted text containing only numbers with commas may require a workaround in Jekyll.
Text inputs have the following available options:
empty_type
- string
Set how an ‘empty’ value will be saved. Does not apply to existing empty values. Can be one of the following:
string
- an empty value for this input will be stored as ""
.null
- an empty value for this input will be stored as a null value (default). This does not apply to TOML files.