mirror of
https://github.com/kingomarnajjar/gatsby-starter-netlify-cms.git
synced 2026-07-26 06:37:25 +10:00
remove the path fields from the CMS config.yml
This commit is contained in:
parent
6a210e58ff
commit
d925464f03
1 changed files with 0 additions and 3 deletions
|
|
@ -13,7 +13,6 @@ collections:
|
|||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
|
||||
fields:
|
||||
- {label: "Template Key", name: "templateKey", widget: "hidden", default: "blog-post"}
|
||||
- {label: "Path", name: "path", widget: "string"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||
- {label: "Description", name: "description", widget: "text"}
|
||||
|
|
@ -27,7 +26,6 @@ collections:
|
|||
name: "about"
|
||||
fields:
|
||||
- {label: "Template Key", name: "templateKey", widget: "hidden", default: "about-page"}
|
||||
- {label: "Path", name: "path", widget: "hidden", default: "/about"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- file: "src/pages/product/product.md"
|
||||
|
|
@ -35,7 +33,6 @@ collections:
|
|||
name: "products"
|
||||
fields:
|
||||
- {label: "Template Key", name: "templateKey", widget: "hidden", default: "product-page"}
|
||||
- {label: "Path", name: "path", widget: "hidden", default: "/products"}
|
||||
- {label: Title, name: title, widget: string}
|
||||
- {label: Image, name: image, widget: image}
|
||||
- {label: Heading, name: heading, widget: string}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue