rename configuration.md to widgets.md (#390)

This commit is contained in:
Shawn Erquhart
2017-04-25 13:27:35 -04:00
committed by Jessica Parsons
parent 96453df346
commit 5477b78b73

18
docs/widgets.md Normal file
View File

@ -0,0 +1,18 @@
# Configuring your site
## Widgets
Widgets define the data type and interface for entry fields. Netlify CMS comes with several built-in widgets, including:
Widget | UI | Data Type
--- | --- | ---
`string` | text input | string
`text` | text area input | plain text, multiline input
`number` | text input with `+` and `-` buttons | number
`markdown` | rich text editor with raw option | markdown-formatted string
`datetime` | date picker widget | ISO date string
`image` | file picker widget with drag-and-drop | file path saved as string, image uploaded to media folder
`hidden` | No UI | Hidden element, typically only useful with a `default` attribute
`list` | text input | strings separated by commas
Were always adding new widgets, and you can also [create your own](/docs/extending).