-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:
- Netlify CMS version:
netlify-cms@2.10.192
- Git provider:
git-gateway
- Browser version:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
CMS configuration
site_url: https://ntn-boilerplate.netlify.app/
logo_url: https://ntn-boilerplate.netlify.app/icon.png
publish_mode: editorial_workflow
backend:
name: git-gateway
branch: master
squash_merges: true
local_backend: true
media_folder: static/img
public_folder: /img
collections:
- label: Site settings
name: site
files:
- label: Info
name: info
file: content/site/info.json
format: json
editor:
preview: false
fields:
- label: Site Name
name: sitename
widget: string
hint: This is used for the site title
- label: Site Description
name: sitedescription
widget: string
hint: This is used as descriptive text for links that link to this site
- label: Site Language
name: sitelang
widget: string
pattern:
- ^[a-z]{2}([-])?([A-Za-z]{2})?$
- Must match "xx" or "xx-XX" syntax (ex. "en" or "sv-SE")
publish: true
type: file_based_collection
sortable_fields:
- commit_date
- commit_author
view_filters: []
view_groups: []
- name: blog
label: Blog
folder: content/blog
create: true
format: frontmatter
slug: "{{fields.createdAt}}-{{slug}}"
fields:
- label: Created Date
name: createdAt
widget: datetime
date_format: YYYY-MM-DD
time_format: false
- label: Title
name: title
widget: string
required: true
- label: Description
name: description
widget: string
required: false
- label: Body
name: body
widget: markdown
required: false
publish: true
type: folder_based_collection
sortable_fields:
- commit_date
- title
- commit_author
- description
view_filters: []
view_groups: []
- name: projects
label: Projects
label_singular: Project
folder: content/projects
create: true
format: frontmatter
slug: "{{slug}}"
preview_path: projects/{{slug}}
fields:
- label: Project Category
name: category
widget: select
default: animals
options:
- label: Animals
value: animals
- label: Food
value: food
- label: Title
name: title
widget: string
required: true
- label: Description
name: description
widget: string
required: false
- label: Cover Image
name: cover
widget: image
required: false
allow_multiple: false
- label: Content
name: body
widget: markdown
required: false
- label: Gallery
name: gallery
widget: list
required: false
summary: "{{fields.image}}"
field:
label: Image
name: image
widget: image
publish: true
type: folder_based_collection
sortable_fields:
- commit_date
- title
- commit_author
- description
view_filters: []
view_groups: []
slug:
encoding: unicode
clean_accents: false
sanitize_replacement: "-"
display_url: https://ntn-boilerplate.netlify.app/
isFetching: false
error: null
Additional context
Metadata
Metadata
Assignees
Labels
No labels