aboutsummaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorDarin Dimitroff <d@thecrazyones.agency>2017-01-02 17:01:46 +0200
committerDarin Dimitroff <d@thecrazyones.agency>2017-01-02 17:01:46 +0200
commitcf55d8220334bb692f69a992b674a89e491e1bb9 (patch)
tree5cf6bb2558f928382f5d555de965121b7c964911 /site
parent3d664cd61e7fb2ca2b1757092053b7ce8ae6e1cd (diff)
Updates content and media locations
Diffstat (limited to 'site')
-rw-r--r--site/static/admin/config.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/static/admin/config.yml b/site/static/admin/config.yml
index 0cff9c1..d1c0aa5 100644
--- a/site/static/admin/config.yml
+++ b/site/static/admin/config.yml
@@ -3,12 +3,13 @@ backend:
repo: darindimitroff/netlify-cms-template # Path to your Github repository
branch: master # Branch to update (master by default)
-media_folder: "/img/uploads" # Folder where user uploaded files should go
+media_folder: "/site/static/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
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: "post" # The path to the folder where the documents are stored
+ folder: "/site/content/post" # 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", tagname: "h1"}