Hi my config,yml consist of
- name: “posts”
label: “Posts”
folder: “src/pages/posts”
extension: “mdx”
format: “frontmatter”
create: true
slug: “{{slug}}”
identifier_field: slug
summary: “{{title}}”
fields:- label: “Slug”
name: “slug”
widget: “string” - label: “Title”
name: “title”
widget: “string” - label: “Publish Date”
name: “date”
widget: “datetime”
format: “YYYY-MM-DD”
dateFormat: “YYYY-MM-DD”
timeFormat: false - label: Author
name: “author”
widget: relation
collection: “meta”
file: “authors”
searchFields:- “authors.*.name”
displayFields: - “authors..name"
valueField: "authors..slug”
- “authors.*.name”
- label: Tags
label_singular: “Tag”
name: “tags”
widget: list
summary: “{{fields.tag}}”
field:
label: Tag
name: tag
widget: relation
collection: “meta”
file: “tags”
searchFields:
- “tags..name"
displayFields:
- "tags..name”
valueField: “tags.*.slug” - label: “Feature Image”
name: “featureImage”
widget: “image” - label: “Body”
name: “body”
widget: “markdown”
- label: “Slug”
i want to read posts from posts folder with json format as well , is there any way i can do that