Update folder paths for content in netlify CMS config.

This commit is contained in:
Dillon Kearns 2019-09-28 10:17:52 -07:00
parent 1baf3f1829
commit b43bbf740c

View File

@ -8,7 +8,7 @@ publish_mode: "editorial_workflow" # see https://www.netlifycms.org/docs/open-au
collections: # A list of collections the CMS should be able to edit
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Post" # Used in the UI, ie.: "New Post"
folder: "examples/docs/content" # The path to the folder where the documents are stored
folder: "examples/docs/content/blog" # The path to the folder where the documents are stored
filter: {field: "type", value: "blog"}
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
@ -31,7 +31,7 @@ collections: # A list of collections the CMS should be able to edit
}
- name: "docs" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Docs" # Used in the UI, ie.: "New Post"
folder: "examples/docs/content" # The path to the folder where the documents are stored
folder: "examples/docs/content/docs" # The path to the folder where the documents are stored
filter: {field: "type", value: "doc"}
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have