Add blog to docs site (#1419)

This commit is contained in:
Jessica Parsons
2018-06-11 19:09:44 -07:00
committed by Shawn Erquhart
parent b65f68efd4
commit edfd35dfdc
8 changed files with 181 additions and 66 deletions

View File

@ -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: