关于如何为服务于内容页面的 Netlify CMS 模板制作更深的子文件夹结构的任何想法。是否可以使用 Netlify CMS config.yml 模板来完成。
这就是我目前所拥有的:
/内容/主题文件夹/主题部分文件夹/语言文件.md
目前我有这个
backend:
name: git-gateway
branch: master
media_folder: static/img
public_folder: /img
collections:
- name: "about"
label: "About"
folder: "content/about"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:d
- {label: "Layout", name: "layout", widget: "hidden", default: "blog"}
- {label: "Title", name: "title", widget: "string"}
- {label: 'URL', name: 'URL', widget: 'string' }
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Featured Image", name: "thumbnail", widget: "image"}
- {label: "Body", name: "body", widget: "markdown"}