Yaml 如何在Netlify CMS的根目录下访问.yml文件?

Yaml 如何在Netlify CMS的根目录下访问.yml文件?,yaml,netlify-cms,Yaml,Netlify Cms,我试图让Netlify CMS访问包含博客网站作者的数据文件,但我无法从文件的根目录中获取记录。我需要记录在根目录下,因为我使用的是站点生成器。有什么我可以用星号来代替的吗 - name: "settings" label: "Settings" files: - name: "authors" label: "Authors" file: "_d

我试图让Netlify CMS访问包含博客网站作者的数据文件,但我无法从文件的根目录中获取记录。我需要记录在根目录下,因为我使用的是站点生成器。有什么我可以用星号来代替的吗

- name: "settings"
    label: "Settings"
    files:
      - name: "authors"
        label: "Authors"
        file: "_data/authors.yml"
        fields:
          - name: "*****"
            label: "Authors"
            widget: "list"
            fields:
              - {label: "Name", name: "name", widget: "string"}
              - {label: "Last Name", name: "last_name", widget: "string"}
              - {label: "First Name", name: "first_name", widget: "string"}
              - {label: "Display Name", name: "display_name", widget: "string"}
              - {label: "Bio", name: "bio", widget: "markdown"}
你说“记录在根上”是什么意思?你只需要一个列表而不是一个包含列表的对象作为根元素?你说的“记录在根”是什么意思?根元素只需要一个列表而不是一个包含列表的对象?