local_backend: true backend: name: git-gateway media_folder: media public_folder: ./media collections: - name: "getting-started" label: "Getting started" media_folder: media public_folder: ./media folder: "src/content/docs/getting-started" create: true fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "markdown" } meta: { path: { widget: string, label: "Path", index_file: slug } } - name: "mdx" label: "MDX" media_folder: media public_folder: ./media extension: "mdx" format: "frontmatter" folder: "src/content/docs" create: false # MDX support is subpar, so you will not want to create them from the CMS nested: depth: 100 summary: "{{title}}" fields: - { label: "Title", name: "title", widget: "string" } - { label: "Body", name: "body", widget: "text" } # MDX format only supports raw content. The markdown editor is escaping brackets and similar