aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/config.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/config.yml b/admin/config.yml
index 1213bc1..2955be9 100644
--- a/admin/config.yml
+++ b/admin/config.yml
@@ -7,6 +7,7 @@ backend:
media_folder: 'assets/uploads'
collections:
- name: 'posts'
+ description: 'This is where you can make posts for the website.'
label: 'Posts'
folder: '_posts/'
create: true
@@ -14,5 +15,5 @@ collections:
editor:
preview: false
fields:
- - { label: 'Title', name: 'title', widget: 'string' }
- - { label: 'Body', name: 'body', widget: 'markdown' } \ No newline at end of file
+ - { label: 'Title', name: 'title', widget: 'string', required: true }
+ - { label: 'Body', name: 'body', widget: 'markdown', required: true } \ No newline at end of file