Add blog to docs site (#1419)
This commit is contained in:
committed by
Shawn Erquhart
parent
b65f68efd4
commit
edfd35dfdc
@ -1,6 +1,7 @@
|
||||
backend:
|
||||
name: github
|
||||
repo: netlify/netlify-cms
|
||||
branch: master
|
||||
squash_merges: true
|
||||
|
||||
publish_mode: editorial_workflow
|
||||
@ -17,6 +18,18 @@ collections: # A list of collections the CMS should be able to edit
|
||||
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
|
||||
- {label: "Position", name: "position", widget: "number"}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: "blog"
|
||||
label: "Blog"
|
||||
label_singular: "Post"
|
||||
folder: "website/site/content/blog"
|
||||
create: true
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
|
||||
- {label: "Author", name: "author", widget: "string"}
|
||||
- {label: "Description (for blog list)", name: "description", widget: "text"}
|
||||
- {label: "Meta Description (defaults to Description)", name: "meta_description", widget: "text", required: false}
|
||||
- {label: "Date", name: "date", widget: "date"}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: updates
|
||||
label: Updates
|
||||
files:
|
||||
|
Reference in New Issue
Block a user