2017-12-04 16:42:20 -08:00
|
|
|
backend:
|
|
|
|
name: github
|
|
|
|
repo: netlify/netlify-cms
|
2018-05-23 17:42:54 -04:00
|
|
|
squash_merges: true
|
2020-02-19 16:55:10 -05:00
|
|
|
open_authoring: true
|
2017-12-04 16:42:20 -08:00
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
local_backend: true
|
|
|
|
|
|
|
|
site_url: https://www.netlifycms.org
|
2019-02-12 10:56:56 -05:00
|
|
|
|
2017-12-04 16:42:20 -08:00
|
|
|
publish_mode: editorial_workflow
|
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
media_folder: website/static/img
|
|
|
|
public_folder: img
|
|
|
|
|
|
|
|
docs_collection: &docs_collection
|
|
|
|
folder: website/content/docs
|
|
|
|
create: true
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'docs/{{slug}}'
|
2020-02-19 16:55:10 -05:00
|
|
|
fields:
|
|
|
|
- { label: Title, name: title }
|
2020-04-06 10:44:48 +03:00
|
|
|
- {
|
|
|
|
label: Group,
|
|
|
|
name: group,
|
|
|
|
widget: select,
|
|
|
|
options: [start, backends, features, reference, media, guides, customization, contributing],
|
|
|
|
}
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Weight, name: weight, widget: number }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
2017-12-04 16:42:20 -08:00
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
collections:
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_start
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Quick Start'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: start
|
2020-04-06 10:44:48 +03:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_backends
|
|
|
|
label: 'Docs: Backends'
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: backends
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_features
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Features'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: features
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_reference
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Reference'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: reference
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_media
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Media'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: media
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_guides
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Guides'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: guides
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_customization
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Customization'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: customization
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_contributing
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Contributing'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: contributing
|
|
|
|
- name: widget_docs
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Widgets'
|
2020-02-19 16:55:10 -05:00
|
|
|
folder: website/content/docs/widgets
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'docs/widgets/{{title}}'
|
2020-02-19 16:55:10 -05:00
|
|
|
create: true
|
|
|
|
fields:
|
|
|
|
- { label: Name, name: title }
|
|
|
|
- { label: Label, name: label }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
|
|
|
- name: blog
|
|
|
|
label: Blog
|
|
|
|
label_singular: Post
|
|
|
|
folder: website/content/blog
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'blog/{{year}}/{{month}}/{{title}}'
|
2018-06-11 19:09:44 -07:00
|
|
|
create: true
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Author, name: author }
|
|
|
|
- { label: Description (for blog list), name: description, widget: text }
|
2020-04-06 10:44:48 +03:00
|
|
|
- {
|
|
|
|
label: Meta Description (defaults to Description),
|
|
|
|
name: meta_description,
|
|
|
|
widget: text,
|
|
|
|
required: false,
|
|
|
|
}
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Twitter Image, name: twitter_image, widget: image }
|
|
|
|
- { label: Date, name: date, widget: date }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
2019-06-24 19:07:19 -04:00
|
|
|
- name: community
|
|
|
|
label: Community
|
2019-06-26 15:52:47 -04:00
|
|
|
files:
|
|
|
|
- name: community
|
|
|
|
label: Community
|
|
|
|
file: website/content/pages/community.md
|
2020-02-19 16:55:10 -05:00
|
|
|
preview_path: community
|
2019-06-24 19:07:19 -04:00
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Headline, name: headline }
|
|
|
|
- { label: Subheading, name: subhead }
|
2019-06-26 15:52:47 -04:00
|
|
|
- label: Sections
|
|
|
|
name: sections
|
2019-06-24 19:07:19 -04:00
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: title, label: Title }
|
2019-06-26 15:52:47 -04:00
|
|
|
- name: channels
|
|
|
|
label: Channels
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: title, label: Title }
|
|
|
|
- { name: url, label: URL }
|
|
|
|
- { name: description, label: Description }
|
2018-02-27 21:53:57 -05:00
|
|
|
- name: updates
|
|
|
|
label: Updates
|
2017-12-04 16:42:20 -08:00
|
|
|
files:
|
2018-02-27 21:53:57 -05:00
|
|
|
- name: releases
|
|
|
|
label: Releases
|
2018-07-25 07:47:26 -04:00
|
|
|
file: website/data/updates.yml
|
2018-02-27 21:53:57 -05:00
|
|
|
fields:
|
|
|
|
- name: updates
|
|
|
|
label: Releases
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: version, label: Version }
|
|
|
|
- { name: date, label: Date, widget: date }
|
|
|
|
- { name: description, label: Description }
|
2020-02-26 10:00:27 -05:00
|
|
|
- { name: url, label: Url, required: false }
|
2017-12-04 16:42:20 -08:00
|
|
|
- name: notifications
|
|
|
|
label: Notifications
|
2018-07-25 07:47:26 -04:00
|
|
|
file: website/data/notifications.yml
|
2017-12-04 16:42:20 -08:00
|
|
|
description: Site-top notifications - publish one at a time
|
|
|
|
fields:
|
|
|
|
- name: notifications
|
|
|
|
label: Notifications
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Published, name: published, widget: boolean }
|
|
|
|
- { label: Loud, name: loud, widget: boolean }
|
|
|
|
- { label: Message, name: message, widget: text }
|
2020-04-06 10:44:48 +03:00
|
|
|
- { label: URL, name: url }
|