Questions tagged [netlify-cms]

Ask questions about the Netlify CMS open source project. netlifycms.org

277 questions
3
votes
2 answers

graphQL + gatsby: query a field that is Image or mp4

Have a gatsby blog to which I've added a cover image that is either an image (I want that to appear as a Gatsby Image) or mp4 (I want that to appear as html5 video). The problem is, when I query this field (in my markdown posts, cover: x.mp4 or…
StephD
  • 266
  • 3
  • 20
3
votes
1 answer

Environment variables in Netflify CMS manual initialization (Gridsome)

I'm building a website with Gridsome and Netlify CMS, hosted with Netlify. The Netlify CMS stuff is located in /static/admin. I'm manually initializing the Netlify CMS in an index.js to change the branch on which it pushes depending on an…
3
votes
0 answers

GraphQL Error: Field "image" must not have a selection since type "String" has no subfields

Description I am new and learning GatsbyJs/NetlifyCM/GraphQL so I am sorry if I come across as stupid. I, however, have been trying to fix this issue for 5 days now and am at my wits end. I am trying to implement NetlifyCMS into a GatsbyJS blog…
3
votes
2 answers

How do I set up correctly cloudinary for Netlify CMS?

I'm trying to set up Cloudinary in for my Gatsby.js blog using Netlify.cms What I want is to be able to have a widget in the CMS that allows me to select multiple images to add to a "gallery" field and looking around Cloudinary or Uploadcare is the…
Matteo Carpi
  • 522
  • 6
  • 23
3
votes
1 answer

Netlify CMS - save data to project root (e.g. `__dirname`)

I'm using Netlify CMS within a Gatsby Theme. Here is an example of my project structure: root/ themes/ gatsby-theme-example/ pages/ index.js static/ admin/ config.yml gatsby-config.js …
Jake
  • 3,865
  • 5
  • 25
  • 58
3
votes
0 answers

How to add a custom widget with NetlifyCMS?

I'm making a website based on Gatsby and I'm currently trying to add a custom component in the NetlifyCMS. It's the fontawesome widget, but I tried to add it thank to the netlifycms documentation, but it still doesn't work. I did that : (in…
3
votes
0 answers

Conflict between the Netlify CMS preview and gatsby-remark-embed-video

I'm trying to create a youtube editor component with gatsby-remark-embed-video. I'm using Gatsby, Netlify CMS, and Netlify. I want to have a preview of the video (can be the video itself or an image) in my preview by Netlify CMS. However, it results…
3
votes
1 answer

Gatsby v2 - error building static HTML for pages failed using markdown

This is my first attempt at using Gatsby v2. I have a test.md file which was created by the netlify cms, that's in the blog folder as you see in the filesystem above. Also I can query the data using GraphiQL in the browser as above. I get a list…
Neil
  • 7,861
  • 4
  • 53
  • 74
3
votes
1 answer

How to set up NetlifyCMS with a pure react app

I have a react.js app, and I'd like to add the netlify CMS backend. I followed the setup tutorial here : https://www.netlifycms.org/docs/add-to-your-site/ but when I navigate to mysite/admin I just get my site. I changed around my react-router, and…
Marchingband
  • 489
  • 1
  • 7
  • 14
3
votes
3 answers

How to make Netlify CMS' list widget returns number

I want to use Netlify CMS for my Jekyll site and I have this layout: {% for skills in page.skills %}
{% for i in (1..15) %}
3
votes
1 answer

Collections in Hugo data file using Netlify CMS

I'm trying to get my head round using Netlify CMS with Hugo ssg. I use: netlify-cms@1.0 hugo@0.29 I have a simple netlify-cms config.yml with two collections: posts and authors. backend: name: github repo: sebhewelt/atlas branch:…
Sebastian
  • 1,225
  • 1
  • 16
  • 27
3
votes
1 answer

Using Netlify CMS with Hugo - creating posts with galleries

I'm new to both Hugo and Netlify, so it's possible I'm simply doing this wrong. I've successfully built and deployed a site with galleries, using Hugo, the Galleria plugin, and deploying to Netlify This has all worked. However, I want to try using…
2
votes
1 answer

Query for images in netlifycms not working correction in gatsby/graphql. Need help verifying configuration

I'm not sure what's wrong with my configuration. I've read all the tutorials regarding how to set this up. However, my images are not being picked up correctly in graphql for some reason. Here is my config.yml backend: name: git-gateway …
2
votes
0 answers

NextJS Image Component relative image from NetlifyCMS markdown

I keep receiving an error in NextJS when trying to use the image component with data from NetlifyCMS. Does anyone know how to ensure there's a leading slash to the image url that is generated into markdown. The error I keep receiving is Error:…
user1710395
  • 47
  • 1
  • 7
2
votes
0 answers

Github - Take check status and update commit status

Simplifying Question: How do I make a github action that will take a specific checkstatus for a commit (pull) and update the commit status of that pull? (These being two different APIs). -- ADDITIONAL INFO IF YOU WOULD LIKE: -- Situation: Sites…
Rogelio
  • 910
  • 5
  • 14
1 2
3
18 19