chore: update website for preview links (#2085)
* chore: update website for preview links * fix formatting
This commit is contained in:
@ -3,6 +3,8 @@ backend:
|
||||
repo: netlify/netlify-cms
|
||||
squash_merges: true
|
||||
|
||||
site_url: "https://www.netlifycms.org"
|
||||
|
||||
publish_mode: editorial_workflow
|
||||
|
||||
media_folder: "website/static/img" # Folder where user uploaded files should go
|
||||
@ -13,6 +15,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
label: "Docs" # Used in the UI, ie.: "New Post"
|
||||
folder: "website/content/docs" # The path to the folder where the documents are stored
|
||||
create: true # Allow users to create new documents in this collection
|
||||
preview_path: "docs/{{slug}}"
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
|
||||
- {label: "Group", name: "group", widget: "string"}
|
||||
@ -21,6 +24,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
- name: "widget_docs" # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
label: "Widget Docs" # Used in the UI, ie.: "New Post"
|
||||
folder: "website/content/docs/widgets" # The path to the folder where the documents are stored
|
||||
preview_path: "docs/widgets/{{title}}"
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Name", name: "title"}
|
||||
@ -30,6 +34,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
label: "Blog"
|
||||
label_singular: "Post"
|
||||
folder: "website/content/blog"
|
||||
preview_path: "blog/{{year}}/{{month}}/{{title}}"
|
||||
create: true
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
|
||||
|
Reference in New Issue
Block a user