Add published flag to posts

This commit is contained in:
2020-01-17 20:16:46 +01:00
parent 54ed7c8f87
commit c638fb1ca3
5 changed files with 15 additions and 1 deletions

View File

@ -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' }
- {