我已经克隆了这个十一点:https://github.com/anborg/eleventy-netlify-boilerplate 我正在尝试使用本地git repo启用netlify CMS。 我希望在下面的截图中看到工作流部分(内容和媒体之间)。我应该更改什么设置才能启用工作流? http://localhost:3000/admin/#/collections/blog ? admin\config.yml local_backend:
url : http://localhost:3030/api/v1
# when accessing this from other
我试图了解更多关于静态站点和它们周围的各种工具的信息。
所以我想:
Gatsby和是获取JSON数据和制作静态快速加载站点的工具/方法。可以直接上传到s3或云存储桶中的东西,并且加载得非常快。
- I think netlify is just a series of tools built on AWS that make managing static sites easily?
- netlify CMS (I think) is a way to be able to put content into github and have it tie into a static
我在Netlify CMS中使用Gatsby,在Netlify CMS中预览模板时遇到了问题。
有一个可以像预期的那样工作。它从markdown和frontmatter获取数据,并与Netlify CMS小部件链接,还有一个通过useStaticQuery钩子获取数据的组件。
但是,一旦我在Netlify管理中访问,我就会得到:
Error: The result of this StaticQuery could not be fetched.
This is likely a bug in Gatsby and if refreshing the page does not fix it
我正在尝试将这个Gatsby starter与Netlify CMS一起使用。
我完全按照说明操作,但在启用Git Gateway后,当我尝试以管理员身份登录时,我遇到了此错误消息。
Your Git Gateway backend is not returning valid settings. Please make sure it is enabled.
我不知道为什么它不能工作。
我的config.yml是
backend:
name: git-gateway
commit_messages:
create: 'Create {{collection}} “{{
我正在尝试用Netlify CMS设置我的中间人页面。我使用的文件结构如下: data
> pages
> page1.yml
> page2.yml 每个页面都有这样的内容: de:
title: Title in German
en:
title: Title in English 现在我希望能够在Netlify CMS中编辑这些页面,并且基本上每个页面都有两个文本字段("Title (DE)“和"Title (EN)")。 我使用以下配置进行了尝试: collections:
- label: Pages