Add config

This commit is contained in:
2018-08-16 10:55:54 +10:00
parent e327078325
commit 99411fcd58
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
public
+1 -1
View File
@@ -8,7 +8,7 @@ public_folder: "img"
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: "site/content/post" # The path to the folder where the documents are stored
folder: "site/content/posts" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Title", name: "title", widget: "string"}