aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
diff options
context:
space:
mode:
authorMathias Biilmann Christensen <info@mathias-biilmann.net>2017-03-19 13:16:33 -0700
committerMathias Biilmann Christensen <info@mathias-biilmann.net>2017-03-19 13:16:33 -0700
commit625a4bef4c57981a561d1f0f66d7435703170ff8 (patch)
tree942315fb99c3050c57d7e312b275e1e0584d838e /src/cms
parent4c0b25582faa403191286275fa678cd89622c63b (diff)
Fix image uploads
Diffstat (limited to 'src/cms')
-rw-r--r--src/cms/config.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cms/config.yml b/src/cms/config.yml
index 9be0a70..89af1d6 100644
--- a/src/cms/config.yml
+++ b/src/cms/config.yml
@@ -3,8 +3,8 @@ backend:
repo: <% GITHUB_REPOSITORY %> # Gulp will replace this with your GitHub repository
branch: master # Branch to update (master by default)
-media_folder: "dist/img" # Folder where user uploaded files should go
-public_folder: "dist" # CMS now knows 'source' is the public folder and will strip this from the path
+media_folder: "site/static/img" # Folder where user uploaded files should go
+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
@@ -13,7 +13,6 @@ collections: # A list of collections the CMS should be able to edit
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"}
- - {label: "A color", name: "color", widget: "color"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Intro Blurb", name: "description", widget: "text"}
- {label: "Image", name: "image", widget: "image", required: false}