Merge pull request #760 from ibraheemdev/patch-1

Add social image widget to Netlify CMS config
This commit is contained in:
Alexander Shelepenok 2020-09-19 01:26:02 +03:00 committed by GitHub
commit 895d87cde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ collections:
- {label: "Template", name: "template", widget: "hidden", default: "post"} - {label: "Template", name: "template", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string"} - {label: "Title", name: "title", widget: "string"}
- {label: "Slug", name: "slug", widget: "string"} - {label: "Slug", name: "slug", widget: "string"}
- {label: "Social Image", name: "socialImage", widget: "image"}
- {label: "Draft", name: "draft", widget: "boolean", default: true} - {label: "Draft", name: "draft", widget: "boolean", default: true}
- {label: "Publish Date", name: "date", widget: "datetime"} - {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Description", name: "description", widget: "text"} - {label: "Description", name: "description", widget: "text"}
@ -36,5 +37,6 @@ collections:
- {label: "Template", name: "template", widget: "hidden", default: "page"} - {label: "Template", name: "template", widget: "hidden", default: "page"}
- {label: "Title", name: "title", widget: "string"} - {label: "Title", name: "title", widget: "string"}
- {label: "Slug", name: "slug", widget: "string"} - {label: "Slug", name: "slug", widget: "string"}
- {label: "Social Image", name: "socialImage", widget: "image"}
- {label: "Draft", name: "draft", widget: "boolean", default: true} - {label: "Draft", name: "draft", widget: "boolean", default: true}
- {label: "Body", name: "body", widget: "markdown"} - {label: "Body", name: "body", widget: "markdown"}