Add published flag to posts
This commit is contained in:
@ -15,6 +15,12 @@ collections:
|
||||
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: 'Published',
|
||||
name: 'published',
|
||||
widget: 'boolean',
|
||||
default: true,
|
||||
}
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Featured Image', name: 'thumbnail', widget: 'image' }
|
||||
- {
|
||||
|
Reference in New Issue
Block a user