From 99411fcd58f0aab009ce084c2ffbbe33e3947d48 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Thu, 16 Aug 2018 10:55:41 +1000 Subject: [PATCH] Add config --- .gitignore | 1 + static/admin/config.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/static/admin/config.yml b/static/admin/config.yml index bfacefc..1864172 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -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"}