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
|
|
|
|
preview_path: "docs/{{slug}}"
|
|
|
|
fields:
|
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Group, name: group, widget: select, options: [start, features, reference, media, guides, customization, contributing] }
|
|
|
|
- { 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
|
|
|
|
label: "Docs: Quick Start"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: start
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_features
|
|
|
|
label: "Docs: Features"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: features
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_reference
|
|
|
|
label: "Docs: Reference"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: reference
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_media
|
|
|
|
label: "Docs: Media"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: media
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_guides
|
|
|
|
label: "Docs: Guides"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: guides
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_customization
|
|
|
|
label: "Docs: Customization"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: customization
|
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_contributing
|
|
|
|
label: "Docs: Contributing"
|
|
|
|
filter:
|
|
|
|
field: group
|
|
|
|
value: contributing
|
|
|
|
- name: widget_docs
|
|
|
|
label: "Docs: Widgets"
|
|
|
|
folder: website/content/docs/widgets
|
2019-02-12 10:56:56 -05: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
|
2019-02-12 10:56:56 -05: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 }
|
|
|
|
- { label: Meta Description (defaults to Description), name: meta_description, widget: text, required: false }
|
|
|
|
- { 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 }
|
|
|
|
- { label: URL, name: url}
|