removed label from fields property
This commit is contained in:
parent
ea2450cb15
commit
cbfa64469c
1 changed files with 6 additions and 6 deletions
|
@ -13,9 +13,9 @@ collections:
|
|||
folder: '_posts/blog' # The path to the folder where the documents are stored
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}' # Filename template, e.g., yyyy-MM-dd-title.md
|
||||
fields: # The fields for each document, usually in front matter
|
||||
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'blog' }
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Featured Image', name: 'thumbnail', widget: 'image' }
|
||||
- { label: 'Rating (scale of 1-5)', name: 'rating', widget: 'number' }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
- {name: 'layout', widget: 'hidden', default: 'blog' }
|
||||
- {name: 'title', widget: 'string' }
|
||||
- {name: 'date', widget: 'datetime' }
|
||||
- {name: 'thumbnail', widget: 'image' }
|
||||
- {name: 'rating', widget: 'number' }
|
||||
- {name: 'body', widget: 'markdown' }
|
||||
|
|
Loading…
Reference in a new issue