我已经克隆了这 110 个:https ://github.com/anborg/eleventy-netlify-boilerplate
我正在尝试使用本地 git repo 启用 netlify CMS。
我希望在下面的屏幕截图中看到工作流部分(在内容和媒体之间)。我应该更改什么设置才能启用 Workflow ?
http://localhost:3000/admin/#/collections/blog
管理员\config.yml
local_backend:
url : http://localhost:3030/api/v1
# when accessing this from other hosts
allowed_hosts : ['*']
backend:
name: github
repo: anborg/one-click-hugo-cms
branch: master # optional, defaults to master
open_authoring: true
# Uncomment below to enable drafts
publish_mode: editorial_workflow
.env
# This file is used by stat:netlifyProxy for port 3030
#### below props are for npx netlify-cms-proxy-server #######
# optional, defaults to current directory
#GIT_REPO_DIRECTORY=FULL_PATH_TO_LOCAL_GIT_REPO
# optional, defaults to 8081
PORT=3030
package.json 有代理
{
"proxy": "http://localhost:3030",
"name": "eleventy-netlify-boilerplate",
"version": "1.0.3",
"description": "A boilerplate for building a fast static website with the Eleventy static site generator, for deployment to Netlify.",
"scripts": {
"start": "run-p start:**",
"start:eleventy": "set ELEVENTY_EXPERIMENTAL=true && npx @11ty/eleventy --serve --port=3000",
"start:netlifyProxy": "npx netlify-cms-proxy-server",
"build": "npx eleventy",
"watch": "npx eleventy --watch",
"debug": "DEBUG=* npx eleventy"
},
"repository": {